You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is modified from similar code that shows edge labels only when hovering, but when I run this code it just creates more nodes when I select and deselect. Help appreciated!
The text was updated successfully, but these errors were encountered:
Someone wiser than me provided some help on Stack Overflow. It doesn't quite answer the question, but it's closer.
I've given up and am just using tooltips as popup labels instead. This is probably better anyway because the tooltip doesn't scale with the graph like the labels do.
But if anyone is still interested in doing this, the code from my SO question is below.
I'm trying to only show node labels on selected nodes, but I don't know javascript very well and I don't think I'm doing something right.
This is modified from similar code that shows edge labels only when hovering, but when I run this code it just creates more nodes when I select and deselect. Help appreciated!
The text was updated successfully, but these errors were encountered: