Return a NetworkX graph from a dot file on path.
path : file or string
File name or file handle to read.