tldr/pages/common/dvc-dag.md

21 lines
417 B
Markdown
Raw Normal View History

# dvc dag
> Visualize the pipeline(s) defined in `dvc.yaml`.
> More information: <https://dvc.org/doc/command-reference/dag>.
- Visualize the entire pipeline:
`dvc dag`
- Visualize the pipeline stages up to a specified target stage:
`dvc dag {{target}}`
- Export the pipeline in the dot format:
`dvc dag --dot > {{path/to/pipeline.dot}}`
- Export pipeline as SVG:
`dvc dag --dot | dot -Tsvg -o pipeline.svg`