MCPcopy Create free account
hub / github.com/Pometry/Raphtory / degree

Method degree

raphtory/src/python/graph/node.rs:221–223  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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 ///

Calls 3

cloneMethod · 0.45
intoMethod · 0.45
mapMethod · 0.45