Moving nodes in gephi

Please use a mailing-list, see http://gephi.org/developers/
Post Reply
yacine
Posts: 7
Joined: 09 Feb 2017 12:04

Moving nodes in gephi

Post by yacine » 14 Feb 2017 14:14

Hi,

Is there a simple way to drag a selected node using gephi,

I'm using the demo project, so in the MouseListnerTemplate I implement the moussePressed method to save the initial mouse click on the node
(X and Y ).
then in the mouseDragged method I set the node position with the PreviewMouseEvent X and Y attributes (selectedNode.setPosition(event.x, event.y);).

but that doesn't work as I want, the position of the node doesn't change.

And I think also that I need to change the postion of the edges related to this node,

Any ideas.

Thanks in advance.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest