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():
node.shape.connections = [];
dragify(node.shape);
resulting in:
node.shape.connections = [];
if(!node.nodrag) {dragify(node.shape);}
Is there a better way to do it ?
Regards
Andrea