Why not just create a GraphML, GDF or GEXF file and load it into Gephi[1]?
Seems way simpler and that program has all kinds of algorithms that lets you visualize graphs. If you want to show the graph to someone else, stream it or make a webm.
I guess the only limitation is it would be tough to do it on live data.