incoming_nodes

Function incoming_nodes 

Source
pub fn incoming_nodes<'a, G, N, NW: 'a, EW: 'a>(
    g: &'a G,
    n: N,
) -> impl Iterator<Item = N> + 'a
where G: Graph<NW, EW, NodeRef = N>,
Expand description

Convenience Method to directly access the predecessor nodes of node n in Graph g.

Returns an iterator over these nodes.