force-graph
force-graph copied to clipboard
showing node name in "Highlight nodes/links" example
Is your feature request related to a problem? Please describe. In Highlight nodes/links example, is it possible to display names of highlighted node and its connected node(s)?
@Ji-Shao you can use graph2ScreenCoords to get the coordinates of the point and in onNodeHover callback you can place the tooltips/names accordingly