NetworkX

Previous topic

successors_iter

Next topic

predecessors_iter

predecessors

DiGraph.predecessors(n)

Return a list of predecessor nodes of n.