We usually set the x,y positions of visual elements from data. But sometimes we want to give suggestions rather than absolute positions. Today we'll do this using physics simulations.
I've modified the code so that it does the simulation "silently" before laying out any of the visible elements. This mode allows you to define a force-directed layout that looks like a static layout.