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.PyDiGraph.successor_indices#
- PyDiGraph.successor_indices(node, /)#
Get the successor indices of a node.
This will return a list of the node indices for the successors of a node
- Parameters:
node (int) – The index of the node to get the successors of
- Returns:
A list of the neighbor node indices
- Return type: