pub trait DirectedDegrees<NI> where
    NI: Idx
{ fn out_degree(&self, node: NI) -> NI;
fn in_degree(&self, node: NI) -> NI; }

Required methods

Returns the number of edges where the given node is a source node.

Returns the number of edges where the given node is a target node.

Implementors