Skip to main content

single_source_dijkstra_path

Function single_source_dijkstra_path 

Source
pub fn single_source_dijkstra_path(
    graph: &Graph,
    source: &str,
    weight_attr: &str,
) -> Vec<(String, Vec<String>)>
Expand description

Single-source Dijkstra returning paths only. Matches networkx.single_source_dijkstra_path(G, source, weight=weight).