philogb / jit

The JavaScript InfoVis Toolkit provides tools for creating Interactive Data Visualizations for the Web
http://thejit.org
Other
1.51k stars 297 forks source link

Navigation.panning="avoid nodes" dragging in Force Directed is broken in circa 2.0.1 #79

Open ghost opened 13 years ago

ghost commented 13 years ago

When I was using 2.0.0b (full suite), code similar to that in the RGraph node dragging demo worked for my ForceDirected graph, but when I updated to 2.0.1 (custom build, just with FD) it stopped working. When I would try to drag a node, it would move slightly at first, and then the whole canvas would pan with the mouse. When Navigation.panning was set to false, node dragging worked fine (but I couldn't pan, of course.)

If necessary, I can try to work up a public test case, but it will require extraction from an internal company project.