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
It would be best to specify custom drag handlers, passing undefined for no drag or default. So there are three options: default drag, no drag, custom drag. imo this is most desirable for customizability. How to make the interface for this, I'm not sure. Maybe still keep the 'nodrag' option...
I need a way to disable dragging on some nodes.
Case test:
graph.addNode('Banana', { nodrag:true });
I changed the original code at bottom of drawNode():
resulting in:
Is there a better way to do it ?
Regards
Andrea
The text was updated successfully, but these errors were encountered: