kinbaku.Graph.predecessors

Graph.predecessors(v)[source]

Iterate over all nodes u such that (u, v) is an edge

Parameters

v ([type]) – key of the target node

Yields

iterator – iterator of node keys