pub trait Visitable: GraphBase {
type Map: VisitMap<Self::NodeId>;
// Required methods
fn visit_map(&self) -> Self::Map;
fn reset_map(&self, map: &mut Self::Map);
}
Expand description
A graph that can create a map that tracks the visited status of its nodes.