Graph.index_uv

Graph.index_uv()[source]

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

Returns

dict – A dictionary of index-uv pairs.