Warning

This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.

networkx.DiGraph.successors

DiGraph.successors(n)[source]

Return an iterator over successor nodes of n.

neighbors() and successors() are the same.