pub fn reconstruct_path( parents: &[NodeId], target: NodeId, ) -> Option<Vec<NodeId>>
Reconstruct path from source to target using parent pointers.