How to implement change edge color based on css when hovering edge #1812
Replies: 1 comment
-
.vue-flow__edge:hover path {
stroke: red;
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
shuitai
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
--vf-theme-edge-hover: black;
.vue-flow__edge.selectable:hover .vue-flow__edge-path,
.vue-flow__edge.selectable.selected .vue-flow__edge-path {
stroke: var(--vf-theme-edge-hover);
}
the css cannot change the stroke color.
but react-flow could do this, so could you let me know how to implement it in vue-flow?
Beta Was this translation helpful? Give feedback.
All reactions