BaseNetwork.degree_out

BaseNetwork.degree_out(key)

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.