Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make SLD and NAD APIs more consistent #469

Closed
So-Fras opened this issue Jan 11, 2023 · 0 comments
Closed

Make SLD and NAD APIs more consistent #469

So-Fras opened this issue Jan 11, 2023 · 0 comments

Comments

@So-Fras
Copy link
Member

So-Fras commented Jan 11, 2023

  • Do you want to request a feature or report a bug?
    Feature

  • What is the current behavior?
    SLD and NAD APIs are different.
    For example, in order to draw a diagram with SLD, the following code is used:

SingleLineDiagram.draw(...);

When generating a diagram with NAD, one has to do the following:

NetworkAreaDiagram nad = new NetworkAreaDiagram(...);
nad.draw(...);
  • What is the expected behavior?
    Both APIs should work the same for the draw() function and be as consistent as possible for the rest of the code.

  • What is the motivation / use case for changing the behavior?
    This will help users to master both APIs more easily.

  • Please tell us about your environment:

    • PowSyBl Version: 3.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

1 participant