I am working on my thesis which involves using ant based techniques for graph clustering. I am testing the algorithm currently and I was wondering if there is a way that I can visualize the clusters of a given graph.
In this case, I have the graph as a file and another file corresponding to the clustering where each node is given its cluster. Is there a software using which I can visualize this graph where nodes belonging to the same cluster have like the same color or something?
The graph is represented as an edge list, or in the ".net" format or Graph Modelling Language ".gml" format. I know there are a lot of programs out there for networks such as gephi, graphviz, networkx, pajek etc but I don't know how to do this. Any help/ideas would be greatly appreciated!
Thanks!
sfdp
can take your cluster analysis and lay it out. However, you can surely color your nodes and do all sorts of things with graphviz, see graphiz galleries for countless examples. (continued) $\endgroup$ – Realz Slaw Dec 4 '13 at 14:15sfdp
, so the automated layout might not be so great (withfdp
). Thus, laying out the graph with your user-defined clusters might be problematic with graphviz/sfdp. However, if you can make your own layout algorithm, then you can set explicit positions to the nodes, and have them drawn up with graphviz. $\endgroup$ – Realz Slaw Dec 4 '13 at 14:16