Trait petgraph::visit::IntoExternals [] [src]

pub trait IntoExternals: GraphRef {
    type Externals: Iterator<Item=Self::NodeId>;
    fn externals(self, d: EdgeDirection) -> Self::Externals;
}

Access to the graph’s nodes without edges to them (Incoming) or from them (Outgoing).

Associated Types

Required Methods

Return an iterator of all nodes with no edges in the given direction

Implementors