rustworkx.PyDiGraph.out_degree#

PyDiGraph.out_degree(node, /)#

Get the degree of a node for outbound edges.

Parameters:

node (int) – The index of the node to find the outbound degree of

Returns:

The outbound degree for the specified node

Return type:

int