Skip to main content

load_graph

Function load_graph 

Source
pub fn load_graph(path: impl AsRef<Path>) -> Result<GraphData>
Expand description

Load a graph from a JSON file.

Rebuilds the petgraph DiGraph from the serialized nodes and edges.