successors

DiGraph.successors(n)[source]

Return a list of successor nodes of n.

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