Explore your Dataform project's dependency graph as an interactive diagram,
right inside VS Code. The graph is parsed locally from your .sqlx files — no dataform compile,
no warehouse connection, no cloud.
Features
- See the whole graph at a glance. Every model, source, view, and assertion in your project, laid out left-to-right by dependency with a color-coded legend and a minimap for large projects.
- Jump straight to the code. Click a node to open its
.sqlxfile in the editor. - Follow along as you navigate. Switch the active editor to a modeled file and its node is highlighted on the canvas.
- Live updates. Edit and save any
.sqlxand the graph rebuilds automatically — no refresh. - Fast and offline. Parses
.sqlxdirectly, so it works even on a project that doesn't compile.
Getting started
- Open a Dataform project folder in VS Code (one with a
definitions/**/*.sqlxtree). - Open the Command Palette (
Cmd/Ctrl+Shift+P) and run Dataform DAG: Show Graph. - The graph opens in a new panel. Click any node to open its file; edit and save to see it update.
Node types
The legend across the top color-codes each node by its Dataform type:
source · table · view · incremental · assertion · operations
Requirements
- VS Code
1.90.0or newer. - A Dataform project with a
definitions/folder of.sqlxfiles.
Notes
The graph is built by parsing .sqlx text directly, which is what keeps it fast and dependency-free.
As a result, assertions declared inline in a model's config block are folded into that model rather
than shown as separate nodes, and a ref() inside a commented-out line of SQL is still counted as a
dependency. For most projects the parsed graph matches the compiled one node-for-node.
Source and contribution guide: github.com/cadamsmith/dataform-dag