pub fn read_digraph<N, E, P>( path: P, format: GraphFormat, weighted: bool, ) -> Result<DiGraph<N, E>>where N: Node + Debug + FromStr + Clone, E: EdgeWeight + Copy + Debug + Default + FromStr, P: AsRef<Path>,
Reads a directed graph from a file
path
format
weighted
Ok(DiGraph)
Err(GraphError)