show

Definition

Generates a visual representation of tasks and dependencies in a DAG.

Usage

$ airflow dags show [-h] [--imgcat] [-s SAVE] [-S SUBDIR] [-v]

Arguments

Parameter Description

--imgcat

Displays a graph using the imgcat tool. This option only works in iTerm

-s, --save

Saves the result to the specified file. The file format is determined by the file extension. For more information about supported format, see Output Formats

-S, --subdir

File or directory location for DAGs. Defaults to [AIRFLOW_HOME]/dags, where [AIRFLOW_HOME] is the value set for AIRFLOW_HOME config in airflow.cfg

-h, --help

Print out the help manual for this command

-v, --verbose

Make logging output more verbose

Examples

To create a PNG file with the DAG information graph, execute the following command:

$ airflow dags show -–save output.png
Found a mistake? Seleсt text and press Ctrl+Enter to report it