Graph.degree_out

Graph.degree_out(key)[source]

Return the number of outgoing neighbors of a node.

Parameters:
keyhashable

The identifier of the node.

Returns:
int

The number of outgoing neighbors of the node.

See also

degree(), degree_in()