pub fn reconstruct_path(
source: &str,
target: &str,
predecessors: &HashMap<String, Vec<String>>,
) -> Vec<String>Expand description
Reconstruct a path from a predecessor dictionary.
Matches networkx.reconstruct_path(source, target, predecessors).