powsybl / powsybl-network-area-diagram

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

Draw loops #52

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 ? Yes fixes #28

What kind of change does this PR introduce? Feature / bug fix

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

Other information: Loops are placed between non-loop edges if enough place, one in each interval if possible. If not the circle is divided in nbLoops part, starting in the middle of the largest interval. Loop aperture can be changed in SvgParameters. See for instance the 3 different cases in the unit tests: