Network.key_index
- Network.key_index()[source]
Returns a dictionary that maps node identifiers to their corresponding index in a node list or array.
- Returns
dict[hashable, int] – A dictionary of key-index pairs.
Returns a dictionary that maps node identifiers to their corresponding index in a node list or array.
dict[hashable, int] – A dictionary of key-index pairs.
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev