You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When hovering a node to highlight it and its edges, the label of the node gets shifted to the front to ensure they're rendered on top of any edges. This is not the case for the labels of the edges when an edge is highlighted.
Thus it is possible that they're rendered underneath the path of the edge. This is especially a problem, if there are labels of different intersected edges rendered on top of each other. Then, the active edge label is not visible at all (see attached screenshot where the highlighted label is underneath the label of another edge).
Hover over a node to highlight its related edges/nodes.
Expected behavior
When hovering/selecting a node/edge, the corresponding labels of the edges should always be painted on top so ensure visibility like it's the case for the labels of the nodes.
Screenshots or Videos
Platform
Reagraph Version: 4.15.26
OS: macOS
Browser: Chrome
The text was updated successfully, but these errors were encountered:
jsjohann
changed the title
Hovering a node not rendering edges label on top
Highlighting a node is not rendering edges label on top
Apr 4, 2024
Describe the bug
When hovering a node to highlight it and its edges, the label of the node gets shifted to the front to ensure they're rendered on top of any edges. This is not the case for the labels of the edges when an edge is highlighted.
Thus it is possible that they're rendered underneath the path of the edge. This is especially a problem, if there are labels of different intersected edges rendered on top of each other. Then, the active edge label is not visible at all (see attached screenshot where the highlighted label is underneath the label of another edge).
Steps to Reproduce the Bug or Issue
labelType={'all'}
to theGraphCanvas
andExpected behavior
When hovering/selecting a node/edge, the corresponding labels of the edges should always be painted on top so ensure visibility like it's the case for the labels of the nodes.
Screenshots or Videos
Platform
The text was updated successfully, but these errors were encountered: