TopologyDiagram.index_uv

TopologyDiagram.index_uv()[source]

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

Returns:

dict[int, tuple[hashable, hashable]] – A dictionary of index-uv pairs.