Skip to content

Docs · Engines

Causal DAG

Native causal directed-acyclic graphs for epidemiology and inference. Declare nodes by role — `exposure`, `outcome`, `confounder`, `mediator`, `unobserved` — and the engine colour-codes them and lays out the diagram so the causal story reads left-to-right. Bidirected (`---`) edges render as dashed double-headed arcs for unmeasured association.

Architectural composition of precision sculptural forms
Templates
57
Source language
plaintext
Workstation
Studio
Engine id
causaldag

In the same space

Most users come to Causal DAG from DAGitty or Hand-drawn causal diagrams. flowss runs this engine in the browser — no install, shareable via URL, exportable to PNG / SVG / PDF / source.

Syntax at a glance

exposure E "Smoking"
outcome O "Lung cancer"
confounder C "Age"
E -> O
C -> E
C -> O

Paste this in the Studio code pane to see Causal DAG render live. The full grammar is at the upstream-docs link above.

Sample templates

All 57 →
Engine reference: causaldag · ← Browse all engines · Quick-start guide