Elod P Csirmaz’s Blog: April 2014

6 April 2014

JS Library to Arrange and Display Graphs or Networks - New Release

I've searched for a tool that would try to automatically arrange nodes of a graph in 2D in a way that they would be more or less uniformly distributed, and the ones connected would be as close to each other as possible. I couldn't find anything, so I wrote one! It uses JavaScript, which has the additional advantage that the nodes are actually moving on the webpage as the code tries to arrange them, and you should be able to run it anywhere.

It's very simple to define a custom graph and include NetArranger in a webpage. Check it out live in action at http://www.epcsirmaz.com/NetArranger/, and grab the JS and CSS files from GitHub!