Skip to content

Graph visualization #
Find similar titles

There are several visualization methods. For example, you can visualize the adjacency matrix or visualize nodes and links directly (node-link diagram). Node-link diagrams are in general more beautiful but they are not necessarily the best method.

Techniques #

Tools #

Web #

Desktop #

Recommended #

  • Gephi - has cool demos but hard to use.
  • Cytoscape - Better than Pajek. Probably one of the best solutions to draw a standard 2D graph figure. Still it is painful to use.
  • graph-tool - Analysis & visualization in a single framework. Can be difficult to install.

Maybe for some special occasions #

Dynamic network #

Visualizing large graphs #

Usually upper limit for the simple node-link viz is an order of 1k, when the graph is sparse. 500 or less is better. Cytoscape & Gephi are usually the standard tools (Gephi seems to be a bit faster) but it will be hard to visualize a graph with 10k or 100k nodes with these tools. Be sure to clarify what information you want to get from the visualization. Even if you can "visualize" it somehow, it is possible that it just gives a pretty (or even ugly), but meaningless figure.

  1. Clarify what you want to get from the visualization
  2. Decide reasonable ways to construct the graph, create a small sample, choose appropriate methods, and try it out.
  3. Repeat 2.

If the network is weighted, one can filter weak edges to remove clutters. Probably the most ruthless filtering is Minimum spanning tree or maximum relatedness graph (see Googling social network paper). There are several methods available: see Weighted network.

I think the major choices for creating 'meaningful' visualizations are these:

  1. Follow a similar approach to the Paperscape: forget about the edges and try to position the nodes based on whatever connections you end up. (you can show 'backbone' edges maybe)
  2. Reduce the size of the graph (or coarse-graining the graph) by finding communities. If you can find meaningful communities, you can consider each community as a super-node and visualize higher level network between super-nodes. There are lots of options regarding community detection.
  3. Filter many edges so that you can actually draw the whole thing.

File formats #

  • .dot: developed by Graphviz project. Simple. OmniGraffle can read it.
  • .net (pajek)
  • edgelist: probably the simplest and the most common format. You list edges (nodefrom and nodeto) with a separator (e.g. a tab)

Links #

Articles #

Examples #

Category:Visualization

Incoming Links #

Related Articles #

Suggested Pages #

0.0.1_20140628_0