Graph.neighbors
- Graph.neighbors(key)[source]
Return the neighbors of a node.
- Parameters
key (hashable) – The identifier of the node.
- Returns
list[hashable] – A list of node identifiers.
Return the neighbors of a node.
key (hashable) – The identifier of the node.
list[hashable] – A list of node identifiers.
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev