Is it possible to color edges? #340
-
|
When making a graph canvas, I only saw an option to color nodes. Is there an option to assign different colors to different edges? |
Beta Was this translation helpful? Give feedback.
Answered by
sidharthsunilkumar
Jul 1, 2025
Replies: 1 comment 1 reply
-
|
Found the answer, you have to use the variable 'fill' instead of 'color'. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
sidharthsunilkumar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Found the answer, you have to use the variable 'fill' instead of 'color'.
Eg. edge : { id: "e1", source: "a", target: "c", label: "10", fill: '#075985' }