Network3gs.degree_in

Network3gs.degree_in(key)

Return the numer of incoming neighbors of a node.

Parameters

key (hashable) – The identifier of the node.

Returns

int – The number of incoming neighbors of the node.