Trait petgraph::visit::Visitable [] [src]

pub trait Visitable: GraphBase {
    type Map: VisitMap<Self::NodeId>;
    fn visit_map(&self) -> Self::Map;
    fn reset_map(&self, &mut Self::Map);
}

A graph that can create a visitor map.

Associated Types

Required Methods

Reset the visitor map (and resize to new size of graph if needed)

Implementors