What is a directed acyclic graph?

Definition

In workflow design, nodes can represent tasks and directed edges can represent prerequisites. Independent tasks may run concurrently, while a task with unmet dependencies must wait; the graph describes ordering rather than proving that any task has actually succeeded.

A workflow step can contain its own bounded iterative process even when the overall dependency graph is acyclic. Approval requirements, exception handling and completion evidence remain separate operational responsibilities.

ELI5

A directed acyclic graph is a map of steps connected by arrows that never form a loop. The arrows show what must come before something else.

For example, a report can be checked only after a draft exists, while two independent source checks may happen at the same time. The map does not itself prove that either check passed.

Does a DAG require all steps to run one after another?

No. Steps without dependencies between them can run concurrently.

Can a task inside a DAG contain a retry loop?

Yes. An individual task can iterate internally while the overall task-dependency graph remains acyclic.

  1. Evan Kormos against a black background with the blue-and-white headline "TRUST THE CHECK".
Definition card for directed acyclic graph: What is a directed acyclic graph?

A directed acyclic graph represents items and one-way relationships without any directed path that loops back to its starting point.