Function sinks

Source
pub fn sinks<'a, G>(g: &'a G) -> impl 'a + Iterator<Item = G::NodeId>
Expand description

Produce an iterator yielding IDs for all sink nodes within the graph.

A node is considered to be a sink node if it has no outgoing edges.