[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Gephi forums •Moving nodes in gephi
Page 1 of 1

Moving nodes in gephi

Posted: 14 Feb 2017 14:14
by yacine
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.