Skip to main content

dag

The dag scope controls the generation of the workflow diagram.

dag.depth
Added in version 23.10

Supported by the HTML and Mermaid renderers.

Controls the maximum depth at which to render sub-workflows (default: no limit).

dag.direction
Added in version 23.10

Supported by the Graphviz, DOT, HTML and Mermaid renderers.

Controls the direction of the DAG, can be 'LR' (left-to-right) or 'TB' (top-to-bottom) (default: 'TB').

dag.enabled

When true enables the generation of the DAG file (default: false).

dag.file

Graph file name (default: 'dag-<timestamp>.html').

The output format is inferred from the file extension. The following formats are supported:

dot

Graphviz DOT file.

gexf

Graph Exchange XML Format (GEXF).

html

HTML file with Mermaid diagram.

mmd

Mermaid diagram.

pdf

Requires Graphviz.

Graphviz PDF file.

png

Requires Graphviz

Graphviz PNG file.

svg

Requires Graphviz

Graphviz SVG file.

dag.overwrite

When true overwrites any existing DAG file with the same name (default: false).

dag.verbose
Added in version 23.10

Only supported by the HTML and Mermaid renderers.

When false, channel names are omitted, operators are collapsed, and empty workflow inputs are removed (default: false).

On this Page