NetworkX

Previous topic

networkx.drawing.nx_agraph.to_agraph

Next topic

networkx.drawing.nx_agraph.read_dot

networkx.drawing.nx_agraph.write_dot

networkx.drawing.nx_agraph.write_dot(G, path)

Write NetworkX graph G to Graphviz dot format on path.

Parameters :

G : graph

A networkx graph

path : filename

Filename or file handle to write.