force-graph
force-graph copied to clipboard
Showing link label onLinkHover
Hi, I'm currently trying to show link label on hover, the onLinkHover function provides only the current link and the previous one, i don't know how to access the link in order to show the link label.
Can somebody show me how to do it ? plz
I've spent a hole day trying to make it work
Thank you
@Aassifh have you tried the linkLabel
method? It includes the link object so you can customize the data shown in the tooltip.
Thank you i was able to set the link label when hovering with linkLabel method