pub trait UndirectedDegrees<NI> where
    NI: Idx
{ fn degree(&self, node: NI) -> NI; }

Required methods

Returns the number of edges connected to the given node.

Implementors