topological_sort_recursive
is_aperiodic
Enter search terms or a module, class or function name.
Return True if the graph G is a directed acyclic graph (DAG) or False if not.
G : NetworkX graph
A graph
is_dag : bool
True if G is a DAG, false otherwise