CellNetwork.
neighborhood
Return the nodes in the neighborhood of a node.
key (hashable) – The identifier of the node.
ring (int, optional) – The size of the neighborhood. Default is 1.
1
list – A list of node identifiers.
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev