rustworkx.PyDiGraph.edge_index_map#
- PyDiGraph.edge_index_map()#
Get an edge index map
Returns a read only mapping from edge indices to the weighted edge tuple in the form:
{0: (0, 1, "weight"), 1: (2, 3, 2.3)}- Returns:
An edge index map
- Return type:
Get an edge index map
Returns a read only mapping from edge indices to the weighted edge
tuple in the form: {0: (0, 1, "weight"), 1: (2, 3, 2.3)}
An edge index map