This function tests whether the given graph is a DAG, a directed acyclic graph.
is_dag(graph)A logical vector of length one.
is_dag() checks whether there is a directed cycle in the graph. If not,
the graph is a DAG.
Graph cycles
feedback_arc_set(),
feedback_vertex_set(),
find_cycle(),
girth(),
has_eulerian_path(),
is_acyclic(),
simple_cycles()
Other structural.properties:
bfs(),
component_distribution(),
connect(),
constraint(),
coreness(),
degree(),
dfs(),
distance_table(),
edge_density(),
feedback_arc_set(),
feedback_vertex_set(),
girth(),
is_acyclic(),
is_matching(),
k_shortest_paths(),
knn(),
reciprocity(),
subcomponent(),
subgraph(),
topo_sort(),
transitivity(),
unfold_tree(),
which_multiple(),
which_mutual()