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[float] – The laplacian vector.
Return the vector from the node to the centroid of its 1-ring neighborhood.
key (hashable) – The identifier of the node.
list[float] – The laplacian vector.
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev