Allow the user to grab the nodes. http://js.cytoscape.org/#nodes.grabify
Lock the nodes such that their positions can not be changed. http://js.cytoscape.org/#nodes.lock
Set the positions via a function.
A callback function that returns the position to set for each element.
Shift the positions of the nodes by a given model position vector.
The position dimension to shift.
Optional
value: numberThe value to shift the dimension.
Shift the positions of the nodes by a given model position vector.
An object specifying name-value pairs representing dimensions to shift.
Disallow the user to grab the nodes. http://js.cytoscape.org/#nodes.ungrabify
Unlock the nodes such that their positions can be changed. http://js.cytoscape.org/#nodes.unlock
http://js.cytoscape.org/#collection/position--dimensions