force-graph icon indicating copy to clipboard operation
force-graph copied to clipboard

How to change the color on a link

Open jlerbsc opened this issue 5 years ago • 3 comments

It's a question! I there a mean to change the color of only one link on the 'onLinkHover' event?

jlerbsc avatar Jan 17 '20 16:01 jlerbsc

His example does that here: https://vasturiano.github.io/force-graph/example/highlight/ Source code: https://github.com/vasturiano/force-graph/blob/master/example/highlight/index.html

Alexithemia avatar Jan 17 '20 18:01 Alexithemia

Sorry. Thanks for you response but i am using 3D-force-graph project.

jlerbsc avatar Jan 17 '20 19:01 jlerbsc

Then you should make the issue in the 3D-Force-graph repository. It works pretty much the same though. 3D Example: https://vasturiano.github.io/3d-force-graph/example/highlight/ 3D source code: https://github.com/vasturiano/3d-force-graph/blob/master/example/highlight/index.html

Alexithemia avatar Jan 17 '20 21:01 Alexithemia