FormNetwork.node_neighborhood_centroid

FormNetwork.node_neighborhood_centroid(key)

Compute the centroid of the neighboring nodes.

Parameters

key (hashable) – The identifier of the node.

Returns

list[float] – The coordinates of the centroid.