networkx.write_dot
networkx.graphviz_layout
Return a NetworkX XGraph or XdiGraph from a dot file on path.
Path can be a string or a file handle.