As a beginner I am having problem in including the gradient color in edges of a force directed graph. #3626
Answered
by
git-ashish
Rohit-Chakraborty
asked this question in
Q&A
-
Here I have added the color to all the nodes and links through style tag
</style>`` This results in coloring of all edges in black... And I want to add the gradient color to the edges.. Similar to this image
Here is the full script |
Beta Was this translation helpful? Give feedback.
Answered by
git-ashish
Jan 17, 2023
Replies: 1 comment
-
You need to use path instead of line for drawing the links and use linearGradient for fill. Search along these lines and that should throw up some pointers. Best. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Fil
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to use path instead of line for drawing the links and use linearGradient for fill. Search along these lines and that should throw up some pointers. Best.