This documents the development version of NetworkX. Documentation for the current release can be found here.
Returns a NetworkX
MultiDiGraphfrom the dot file with the passed path.
If this file contains multiple graphs, only the first such graph is returned. All graphs _except_ the first are silently ignored.
- pathstr or file
Filename or file handle.
- GMultiGraph or MultiDiGraph
G = nx.Graph(read_dot(path))to return a
Graphinstead of a