Warning

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

neighbors

DiGraph.neighbors(n)

Return a list of successor nodes of n.

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