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.
You could do interactive view options / drill down with this that needs on the fly reanalysis of the traffic. Doing it all beforehand and generating all possible graph data "just in case" gets too expensive fast.
A simple example would be showing desired protocol level details via the Wireshark XML output stuff.
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.
[1] https://gephi.org/