Function read_graphml_format_digraph
Source pub fn read_graphml_format_digraph<N, E, P>(
path: P,
weighted: bool,
) -> Result<DiGraph<N, E>>
Expand description
Read a directed graph from GraphML format
§Arguments
path - Path to the input file
weighted - Whether to parse edge weights from GraphML data elements
§Returns
Ok(DiGraph) - The directed graph read from the file
Err(GraphError) - If there was an error reading or parsing the file