Network.node_neighborhood_centroid
- Network.node_neighborhood_centroid(key)[source]
Compute the centroid of the neighboring nodes.
- Parameters
key (hashable) – The identifier of the node.
- Returns
list – The coordinates of the centroid.
Compute the centroid of the neighboring nodes.
key (hashable) – The identifier of the node.
list – The coordinates of the centroid.