#

Note

This documents the development version of NetworkX. Documentation for the current release can be found here.

#

networkx.drawing.nx_agraph.read_dot

read_dot(path)[source]

Returns a NetworkX graph from a dot file on path.

Parameters

path (file or string) – File name or file handle to read.