Search code examples
graphgraphviz

Clean visualization of a large graph with graphivz


I am trying to visualize a social network using graphviz. I have used already many variations of dot, fdp, sfdp, neato, etc.,

for instance, sfdp -Tpng test1.dot -o test1.png

I also have tried to split the graph in regions of clusters using the cluster utility and some other commands such as overlap=false. However, none of my current attempts have generate a clean visualization of the graph. By clean I mean to visualize the graph without overlaps and better distribution of the nodes.

two of my attempts are in this link dot script

Since the number of the nodes is large, locating the nodes manually is out of the question. So, I am wondering if there is a way to achieve a better automatic distribution of the graph in graphivz? Any suggestions would be appreciate it. Thanks in advance.

enter image description here

enter image description here


Solution

  • Here's a version in neato with some modifications:

    enter image description here

    It prevents the lines from overlapping the nodes and adds color to help identify the clustering.

    You might also want to check out http://socilab.com/ for some ideas on visualizing social networks.