Note
This documents the development version of NetworkX. Documentation for the current release can be found here.
descendants
Returns all nodes reachable from source in G.
source
G
G (NetworkX DiGraph) – A directed acyclic graph (DAG)
source (node in G)
The descendants of source in G
set()