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.
- PyDAG.get_edge_endpoints_by_index(edge_index, /)#
Return the edge endpoints for the edge by its given index
edge_index (int) – The edge index to get the endpoints for
The endpoint tuple for the edge
- Return type:
IndexError – when there is no edge present with the provided index