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.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 (i.e. number of outbound endges)
- Return type:
int