Skip to content
This repository was archived by the owner on Sep 25, 2025. It is now read-only.

Commit 96314d0

Browse files
authored
DCV-3520 Lineage Panel docs (#63)
* DCV-3520 Lineage Panel docs
1 parent c5f0b0e commit 96314d0

File tree

4 files changed

+45
-0
lines changed

4 files changed

+45
-0
lines changed

docs/_sidebar.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
- [Snowflake Extension](/getting-started/developer/snowflake-extension.md)
1212
- [Transform Tab](/getting-started/developer/transform-tab.md)
1313
- [Working with dbt in Datacoves](/getting-started/developer/working-with-dbt-datacoves.md)
14+
- [Lineage View](/getting-started/developer/lineage-view.md)
1415
- [Using Git](/getting-started/developer/using-git.md)
1516
- **Diving Deeper**
1617
- [How to](/how-tos/)
230 KB
Loading
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Lineage View
2+
3+
The **Lineage View** panel is a feature of the Datacoves VSCode extension that provides a visual representation of the lineage of your project. This tool helps you quickly understand how data flows between models, sources, and downstream dependencies within your dbt project.
4+
5+
## What is the Lineage View?
6+
7+
The Lineage View displays a graph of your dbt model's relationships, showing both upstream and downstream dependencies. This visualization makes it easy to:
8+
9+
- See which sources and models feed into your current model
10+
- Identify all models and reports that depend on your current model
11+
- Understand the impact of changes to a model across your project
12+
13+
## Usage
14+
15+
The basic usage of Lineage View consists of the following steps:
16+
17+
1. **Open a dbt model or yml file** in your VSCode workspace.
18+
2. Locate the **Lineage View** panel, typically found in the lower panel (alongside Terminal, Output, Datacoves)
19+
3. The panel will automatically display the lineage graph for the currently sql or yml file.
20+
21+
### Additional features
22+
23+
In addition to seeing your model(s) lineage, you can also:
24+
25+
- **Single-click** on a node to open the SQL file.
26+
- **Double-click** on a node to open the YML file.
27+
- **Right click** a node and perform a dbt action(run, test, compile, open files, etc)
28+
29+
You can also look up other dbt models and change the parent and child nodes displayed using one of the following:
30+
- `{n}+my_model`
31+
- `my_model+{n}`
32+
- `{n}+my_model+{n}`
33+
34+
![Lineage View Example](assets/lineage_view_with_model.png)
35+
36+
## Configuration
37+
38+
Lineage Panel has 3 configurable settings. As with any VSCode setting, these can be [overridden](/how-tos/vscode/override) in the `settings.json` file located in `workspace/.vscode/settings.json`:
39+
40+
- Default Expansion (`dbt.lineage.defaultExpansion`: number): How many nodes should expand by default for the currently-opened model.

docs/getting-started/developer/working-with-dbt-datacoves.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ This guide covers various aspects of using Datacoves for creating, editing, runn
1818

1919
- **Run current button:** Understand how to use the "Run current" button to execute models.
2020

21+
## dbt Model Lineage
22+
23+
- **Datacoves Linage Panel** Learn how to use the [Datacoves Linage Panel](/getting-started/developer/lineage-view.md) to see the lineage of dbt exposures, models, and sources.
24+
2125
## Opening a Model and Auto Complete
2226

2327
- **Quick model access using Cmd/Ctrl + P:** Learn how to quickly access models using the keyboard shortcut.

0 commit comments

Comments
 (0)