Network.degree_out

Network.degree_out(key)[source]

Return the number of outgoing neighbors of a node.

Parameters

key (hashable) – The identifier of the node.

Returns

int – The number of outgoing neighbors of the node.