powsybl / powsybl-network-area-diagram

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

Edge info labels on the edge #57

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) Edge info labels drawn next to the edge, leading to overlapping & confusion when many edges screenshot

What is the new behavior (if this is a feature change)? Edge info labels drawn on the corresponding edge (either parallel or perpendicular to the edge) with a white-transparent background screenshot

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

Other information Changing the CSS to have the text background of the same colour than the edge itself instead of transparent white could also be an option: screenshot

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