pub fn has_path_connecting<G>( g: G, from: <G as GraphBase>::NodeId, to: <G as GraphBase>::NodeId, space: Option<&mut DfsSpace<<G as GraphBase>::NodeId, <G as Visitable>::Map>> ) -> boolwhere G: IntoNeighbors + Visitable,
[Generic] Check if there exists a path starting at
from and reaching
to are equal, this function returns true.
space is not
None, it is used instead of creating a new workspace for