Graph.neighbors_in

Graph.neighbors_in(key)[source]

Return the incoming neighbors of a node.

Parameters

key (hashable) – The identifier of the node.

Returns

list[hashable] – A list of node identifiers.