NetworkX

Previous topic

networkx.to_pydot

Next topic

networkx.read_dot

networkx.write_dot

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.