I've resumed the work on this project.

I've done some basic 1 D integration, but i can't wrap my head around things and apply it to my graph layout.

So, consider the picture below:

- if i drag the red node to the right, i'm forcing his position to my mouse position

- the other nodes will "follow" him, but how ?

For Verlet, to compute the newPosition, i need the acceleration for every node and the currentPosition.

That is what i don't understand.

How to i compute the acceleration and the currentPosition ?

The currentPosition will be the position of the RedNode ? If yes, doesn't that means that they will all overlap ?