Cgraph: drag and drop node

We are using the cgraph library for our project to display graphs, with many nodes and many edges.

We create a graph by cgraph and display it by QML. We would like to drag and drop a node.

We are able to graphically perform the movement of a node (QML side) and we are trying to use the cgraph library to update the nodes and edges to the new position. Our attempts failed.

Can you suggest us something?

Is it possible set the nodes position (with the previous positions) and the perform the gvLayout in order to re-draw the nodes (some moved) and edges?

Kind regards.