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
Click directed checkbox. At this point the arrow color and highlightColor are in sync with link color and highlightColor of link.
Change link.color to some other value. Let's say green
Change link.highlightColor to some other value. Let's say orange
Notice that link color changes to green correctly, but arrow color still remain grey.
Hover over a node or link. Notice that link color on hover changes to orange correctly but arrow color still remain blue.
Expected behavior
Arrow color should change with link color.
Screenshots
Link and arrow color mismatch in normal mode
Link and arrow color mismatch when hover over node/link
Environment:
OS: MacOS
Browser: Chrome
Version Version 84.0.4147.105 (Official Build) (64-bit)
Node version v12.16.1
react-d3-graph version 2.5.0
d3 version 5.5.0
react version 16.4.1
Additional context
Our application allow user to choose between light and dark theme. We set link color and highlight color to text color for theme. When the graph is loaded initially, both link and arrow color are in sync. But when user switches theme, the arrow color remain same, giving a bad user experience.
The text was updated successfully, but these errors were encountered:
Describe the bug
Arrow (Marker) color does not change when
link.color
orlink.highlightColor
is updated. This result in very bad user experience.To Reproduce
Steps to reproduce the behavior:
npm run dev
directed
checkbox. At this point the arrow color and highlightColor are in sync with link color and highlightColor of link.link.color
to some other value. Let's saygreen
link.highlightColor
to some other value. Let's sayorange
green
correctly, but arrow color still remaingrey
.orange
correctly but arrow color still remainblue
.Expected behavior
Arrow color should change with link color.
Screenshots
Environment:
Additional context
Our application allow user to choose between light and dark theme. We set link color and highlight color to text color for theme. When the graph is loaded initially, both link and arrow color are in sync. But when user switches theme, the arrow color remain same, giving a bad user experience.
The text was updated successfully, but these errors were encountered: