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