Re:Force directed graph layout in JavaScript
by jackrusher on Wednesday April 14, 2010 @11:14AM
(#1265102)
Nice! I did the same thing a couple weeks ago <http://github.com/jackrusher/jssvggraph>; to help explain the simplicity of the algorithm to a friend. Mine paints SVG directly rather than using Raphael, so it only works with browsers that support that standard. One thing this brought to my attention is that the WebKit SVG implementation is much, much faster than Gecko's.
[ Parent
| on HN ]
Re:Force directed graph layout in JavaScript
by dhotson on Wednesday April 14, 2010 @07:34PM
(#1266460)
Thanks for sharing Jack.
For this demo I was really focusing on simplicity and getting the basics right. I just wanted dots and lines but was too lazy to figure SVG DOM manipulation. Raphael makes it really easy.
If you want to click, use http://github.com/jackrusher/jssvggraph
Re:Force directed graph layout in JavaScript
by jackrusher on Thursday April 15, 2010 @01:17PM
(#1268309)
Thanks! I wasn't familiar with HN's post formatting.