Graph.degree_in
-
Graph.
degree_in
(key)[source] Return the numer of incoming neighbors of a node.
- Parameters
key (hashable) – The identifier of the node.
- Returns
int – The number of incoming neighbors of the node.
Graph.
degree_in
(key)[source]Return the numer of incoming neighbors of a node.
key (hashable) – The identifier of the node.
int – The number of incoming neighbors of the node.