powsybl / powsybl-network-area-diagram

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

Smaller node for single-bus voltage level #55

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? Feature

What is the current behavior? (You can also link to an open issue here) Voltage levels are all of the same size (except fictitious ones)

What is the new behavior (if this is a feature change)? Voltage levels are bigger if more than one bus

screenshot

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

Other information: One could think of a radius proportional to the number of buses, nonetheless this requires more code changes (expecially the forking edges)

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication