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.PyGraph.get_all_edge_data#
- PyGraph.get_all_edge_data(node_a, node_b, /)#
Return the edge data for all the edges between 2 nodes.
- Parameters:
node_a (int) – The index for the first node
node_b (int) – The index for the second node
- Returns:
A list with all the data objects for the edges between nodes
- Return type:
list
- Raises:
NoEdgeBetweenNodes – When there is no edge between nodes