Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Edge info labels on the edge #57

Merged
merged 13 commits into from
Mar 1, 2022
Merged

Edge info labels on the edge #57

merged 13 commits into from
Mar 1, 2022

Conversation

flo-dup
Copy link
Contributor

@flo-dup flo-dup commented Feb 17, 2022

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

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

@flo-dup flo-dup changed the title Edge info labels along the edge Edge info labels on the edge Feb 17, 2022
flo-dup added 7 commits March 1, 2022 14:31
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
flo-dup added 2 commits March 1, 2022 15:17
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
flo-dup added 4 commits March 1, 2022 15:27
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 1, 2022

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

@flo-dup flo-dup merged commit 8d5a123 into main Mar 1, 2022
@flo-dup flo-dup deleted the edge_info_refac branch March 1, 2022 16:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant