Note

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.

rustworkx.PyDAG.edge_indices_from_endpoints#

PyDAG.edge_indices_from_endpoints(node_a, node_b)#

Return a list of indices of all directed edges between specified nodes

Returns:

A list of all the edge indices connecting the specified start and end node

Return type:

EdgeIndices