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 April 4, 2025, 1:50 a.m.