Graph.index_node

Graph.index_node()[source]

Returns a dictionary that maps the indices of a node list to keys in a node dictionary.

Returns:
dict[int, hashable]

A dictionary of index-node pairs.