Network.index_edge

Network.index_edge()[source]

Returns a dictionary that maps edges in a list to the corresponding vertex identifier pairs.

Returns:
dict[int, tuple[hashable, hashable]]

A dictionary of index-uv pairs.