powsybl / powsybl-network-area-diagram

Generation of network area diagrams
Mozilla Public License 2.0
2 stars 0 forks source link

Node set/get position #51

Closed flo-dup closed 2 years ago

flo-dup commented 2 years ago

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? Design fix

What is the current behavior? Point parameters are not final and therefore special care (cloning) is needed when returning a Point

What is the new behavior (if this is a feature change)? Point parameters are final and therefore Node::getPosition, Node::setPosition(point) methods have been added.

Does this PR introduce a breaking change or deprecate an API? No