Note
This documents the development version of NetworkX. Documentation for the current release can be found here.
write_dot
Write NetworkX graph G to Graphviz dot format on path.
Path can be a string or a file handle.