Force-Directed Edge Bundling for Graph Visualization
visualcomplexity.com
visualcomplexity.com
All you need to do is write a simple physics particle library w/ forces/springs. I wrote one similar to Traer Physics (http://www.cs.princeton.edu/~traer/physics/) over a weekend (Traer does the math well, but the API is terrible and very incomplete).
For the longest time I was intimidated by force-directed layouts, and would just rely on static graphviz generated images even though I really wanted dynamic/interactive ones.
But once I sat down and actually started writing, it wasn't so bad at all.
I was using Java's Processing though - which I would expect to be considerably faster than Processing.js. I didn't try decoupling the UI from the computation/model (since the performance was already more than sufficient for my needs), but my gut tells me that my physics code was the bottleneck - not Processing itself.