pub fn single_source_dijkstra_path_length(
graph: &Graph,
source: &str,
weight_attr: &str,
) -> Vec<(String, f64)>Expand description
Single-source Dijkstra returning distances only.
Matches networkx.single_source_dijkstra_path_length(G, source, weight=weight).