gephi.team team mailing list archive
-
gephi.team team
-
Mailing list archive
-
Message #00448
[Bug 604687] Re: Mouse and view are not moving synchronously when dragging canvas
I've patched the dragging behavior. The idea is to cast rays into the
scene and project them into the x-y plane (z == 0, there where the graph
layout resides). Such a ray is constructed for the mouse position at
which the drag was started, and for the current mouse position. This
yields two points in the plane dragOrigin and dragDestination. The
difference between both points tells us how far we have to translate the
camera (location and target). Works fine in both 2D view and 3D view.
P.S. Similar code could be useful to improve dragging of nodes when the
view is 3D.
** Patch added: "dragPatch.patch"
http://launchpadlibrarian.net/51865651/dragPatch.patch
--
Mouse and view are not moving synchronously when dragging canvas
https://bugs.launchpad.net/bugs/604687
You received this bug notification because you are a member of Gephi
Team, which is subscribed to 0.7.
Status in Gephi - Network exploration and manipulation: Confirmed
Status in Gephi 0.7 series: Confirmed
Bug description:
Mouse and view are not moving synchronously when dragging canvas.
References