NetworkX

Table Of Contents

Previous topic

Pajek

Next topic

Exceptions

Drawing

Matplotlib

Draw networks with matplotlib (pylab).

Graphviz AGraph (dot)

Interface to pygraphviz AGraph class.

Examples

>>> G=nx.complete_graph(5)
>>> A=nx.to_agraph(G)
>>> H=nx.from_agraph(A)

Graphviz with pydot

Import and export NetworkX graphs in Graphviz dot format using pydot.

Either this module or nx_pygraphviz can be used to interface with graphviz.

Graph Layout

Node positioning algorithms for graph drawing.