Get the degree of this node (i.e., the number of edges that are incident to it). Returns: int: The degree of this node.
(&self)
| 219 | /// Returns: |
| 220 | /// int: The degree of this node. |
| 221 | pub fn degree(&self) -> usize { |
| 222 | self.node.degree() |
| 223 | } |
| 224 | |
| 225 | /// Get the in-degree of this node (i.e., the number of edges that are incident to it from other nodes). |
| 226 | /// |