rustworkx.PyDiGraph.successors#

PyDiGraph.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