Warning

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

successors

DiGraph.successors(n)[source]

Return a list of successor nodes of n.

neighbors() and successors() are the same function.