Here's a silly little applet that lets you tangle and un-tangle a graph of electric particles connected with springs. Click and drag the nodes to move things around and watch it settle into its most comfortable position.
The source.