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.