Warning

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

networkx.MultiDiGraph.neighbors

MultiDiGraph.neighbors(n)

Return an iterator over successor nodes of n.

neighbors() and successors() are the same.