views:

61

answers:

1

I have a graph to which I add and delete nodes (using animation with FunctionSequence) according to the user's interaction with the application. My problem is that as I add or remove more nodes, the drag sensibility of nodes increases. In other words when I drag a node after adding and removing nodes from the graph even a small movement with the mouse makes the node drag itself to a larger distance. For some reason it moves faster than the mouse. It is not the case when the graph has just been initialized. To allow dragging in the graph I use

vis.controls.add( new DragControl( NodeSprite));

Does anybody know how to solve such a problem?

A: 

hi jaxvy, i noticed this problem sometimes. Never suspected the drag control.Thanks you for the heads up and let me know if you solve it.

aravind