pub trait UndirectedDegrees<NI> where NI: Idx, { fn degree(&self, node: NI) -> NI; }
Returns the number of edges connected to the given node.