Graph.node_index
- Graph.node_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 node-index pairs.
See also
Site Navigation
Returns a dictionary that maps node identifiers to their corresponding index in a node list or array.
A dictionary of node-index pairs.
See also