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.successors#

PyDAG.successors(node, /)#

Return a list of all the node successor data.

Parameters:

node (int) – The index for the node to get the successors for

Returns:

A list of the node data for all the child neighbor nodes

Return type:

list