is_dag: Checks whether a graph is a Directed Acyclic Graph (DAG)

View source: R/topological_sort.R

is_dagR Documentation

Checks whether a graph is a ⁠Directed Acyclic Graph (DAG)⁠

Description

Checks whether a graph is a ⁠Directed Acyclic Graph (DAG)⁠

Usage

is_dag(graph)

Arguments

graph

(⁠named list⁠) with node vector elements

Value

logical(1) TRUE if the graph is a DAG; FALSE otherwise


teal.data documentation built on June 29, 2026, 9:08 a.m.