This is the documentation for the current state of the development branch of rustworkx. The documentation or APIs here can change prior to being released.
- PyDiGraph.get_edge_data_by_index(edge_index, /)#
Return the edge data for the edge by its given index
edge_index (int) – The edge index to get the data for
The data object for the edge
IndexError – when there is no edge present with the provided index