Skip to content

oxo-flow graph#

Output the workflow DAG in DOT format for visualization.


Usage#

oxo-flow graph <WORKFLOW>

Arguments#

Argument Description
<WORKFLOW> Path to the .oxoflow workflow file

Options#

Option Short Description
--verbose -v Enable debug-level logging

Examples#

oxo-flow graph pipeline.oxoflow

Render to PNG with Graphviz#

oxo-flow graph pipeline.oxoflow | dot -Tpng -o dag.png

Render to SVG#

oxo-flow graph pipeline.oxoflow | dot -Tsvg -o dag.svg

Render to PDF#

oxo-flow graph pipeline.oxoflow | dot -Tpdf -o dag.pdf

Output#

digraph workflow {
    rankdir = TB;
    node [shape=box, style="rounded,filled", fillcolor="#e8f4f8"];
    "trim_reads" -> "align";
    "align" -> "sort_bam";
    "sort_bam" -> "mark_duplicates";
    "mark_duplicates" -> "call_variants";
}

Notes#

  • Output is in Graphviz DOT format
  • Requires Graphviz (dot command) to render images — install with your package manager: apt install graphviz, brew install graphviz, or conda install graphviz
  • Nodes represent rules, edges represent dependencies
  • The graph direction is top-to-bottom (rankdir = TB)