BaseNetwork.uv_index

BaseNetwork.uv_index()

Returns a dictionary that maps edge keys (i.e. pairs of vertex keys) to the corresponding edge index in a list or array of edges.

Returns

dict – A dictionary of uv-index pairs.