LinuxCommandLibrary

dvc-dag

visualize DVC pipeline dependencies

TLDR

Show pipeline DAG

$ dvc dag
copy
Output as dot format
$ dvc dag --dot
copy
Show specific stage
$ dvc dag [stage_name]
copy
Show full graph
$ dvc dag --full
copy

SYNOPSIS

dvc dag [options] [target]

DESCRIPTION

dvc dag generates a visual representation of your DVC pipeline's structure as a directed acyclic graph (DAG). It shows how pipeline stages depend on each other and the flow of data through your machine learning workflow.
Each node in the graph represents a pipeline stage (data processing, training, evaluation, etc.), and edges show dependencies between stages. This visualization helps understand pipeline structure, identify bottlenecks, and debug execution order issues.
The default output is ASCII art suitable for terminal viewing. The --dot option exports to Graphviz DOT format, which can be rendered to images using tools like Graphviz or online viewers. This is useful for documentation and sharing pipeline architecture with team members.

PARAMETERS

--dot

Output in Graphviz DOT format.
--full
Show full graph including deps.
-o, --out file
Output to file.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community