networkx.to_pydot
networkx.read_dot
Write NetworkX graph G to Graphviz dot format on path.
Path can be a string or a file handle.