Skip to content
This repository was archived by the owner on Sep 25, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- [Snowflake Extension](/getting-started/developer/snowflake-extension.md)
- [Transform Tab](/getting-started/developer/transform-tab.md)
- [Working with dbt in Datacoves](/getting-started/developer/working-with-dbt-datacoves.md)
- [Lineage View](/getting-started/developer/lineage-view.md)
- [Using Git](/getting-started/developer/using-git.md)
- **Diving Deeper**
- [How to](/how-tos/)
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions docs/getting-started/developer/lineage-view.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Lineage View

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.

## What is the Lineage View?

The Lineage View displays a graph of your dbt model's relationships, showing both upstream and downstream dependencies. This visualization makes it easy to:

- See which sources and models feed into your current model
- Identify all models and reports that depend on your current model
- Understand the impact of changes to a model across your project

## Usage

The basic usage of Lineage View consists of the following steps:

1. **Open a dbt model or yml file** in your VSCode workspace.
2. Locate the **Lineage View** panel, typically found in the lower panel (alongside Terminal, Output, Datacoves)
3. The panel will automatically display the lineage graph for the currently sql or yml file.

### Additional features

In addition to seeing your model(s) lineage, you can also:

- **Single-click** on a node to open the SQL file.
- **Double-click** on a node to open the YML file.
- **Right click** a node and perform a dbt action(run, test, compile, open files, etc)

You can also look up other dbt models and change the parent and child nodes displayed using one of the following:
- `{n}+my_model`
- `my_model+{n}`
- `{n}+my_model+{n}`

![Lineage View Example](assets/lineage_view_with_model.png)

## Configuration

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`:

- Default Expansion (`dbt.lineage.defaultExpansion`: number): How many nodes should expand by default for the currently-opened model.
4 changes: 4 additions & 0 deletions docs/getting-started/developer/working-with-dbt-datacoves.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ This guide covers various aspects of using Datacoves for creating, editing, runn

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

## dbt Model Lineage

- **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.

## Opening a Model and Auto Complete

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