Once the nodes come within a certain distance of each other, they try to pull together.
The pull isn't very strong, so it may take a while for them to settle down, especially for the fast ones.
Eventually they will all be one little mass, all pulling together.
I got this one from a tutorial at Bit-101.