Network.node_laplacian

Network.node_laplacian(key)[source]

Return the vector from the node to the centroid of its 1-ring neighborhood.

Parameters

key (hashable) – The identifier of the node.

Returns

list – The laplacian vector.