Trait petgraph::visit::FilterNode [] [src]

pub trait FilterNode<N> {
    fn include_node(&self, node: N) -> bool;
}

A graph filter for nodes.

Required Methods

Return true to have the node be part of the graph

Implementors