networkx.drawing.nx_agraph.read_dot

read_dot(path)[source]

Returns a NetworkX graph from a dot file on path.

Parameters
pathfile or string

File name or file handle to read.