-
Notifications
You must be signed in to change notification settings - Fork 13
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
Set layout node positions getting them from JSON metadata in network area diagram #656
Conversation
…area diagram Signed-off-by: massimo.ferraro <[email protected]>
Quality Gate passedIssues Measures |
Signed-off-by: Florian Dupuy <[email protected]>
Signed-off-by: Florian Dupuy <[email protected]>
Signed-off-by: Florian Dupuy <[email protected]>
Signed-off-by: Florian Dupuy <[email protected]>
Signed-off-by: Florian Dupuy <[email protected]>
Signed-off-by: Florian Dupuy <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did some basic refactoring but kept the feature the same.
I changed the name of the Utils class as I'm a bit annoyed by the FixedLayoutFactory. I think this factory should be kept for testings purposes only. When there's a node which doesn't have a fixed position, leaving it in 0,0 is not very interesting for the user. But that's not the topic of this PR. Let's discuss this later.
Signed-off-by: Florian Dupuy <[email protected]>
Quality Gate passedIssues Measures |
Please check if the PR fulfills these requirements
Does this PR already have an issue describing the problem?
no
What kind of change does this PR introduce?
feature
What is the current behavior?
In network area diagram initial positions of nodes and text nodes for a layout can be set providing them in maps
What is the new behavior (if this is a feature change)?
Initial positions of nodes and text nodes for a layout can be set reading them from a JSON diagram metadata file
Does this PR introduce a breaking change or deprecate an API?