# Lineage

The Lineage Preview in Paradime IDE helps you visualize and navigate your dbt™ model dependencies while developing. The lineage is based on your current git branch and updates automatically as you work.

### How it works

Click the Lineage Tab in the Command Panel. Here you can:

* View immediate model dependencies (+1/-1)
* Navigate to referenced models
* Expand to see full lineage graph
* Track dependency changes as you develop

{% @arcade/embed flowId="SapNkFhSsRmkGiZ7nX5C" url="<https://app.arcade.software/share/SapNkFhSsRmkGiZ7nX5C>" %}

### Viewing Lineage Dependencies

1. Open any dbt™ model in the editor
2. Click the Lineage tab in the command panel
3. Review your model's immediate dependencies
4. Optional: Update the number of visible upstream and downstream dependencies (+1/-1). To view all upstream and downstream dependencies, simply replace fields with "+"
5. Optional: Click the expand icon to view the full lineage graph

{% hint style="info" %}
The lineage updates automatically when:

* you edit dependencies and commit your changes.
* Change the .sql file currently open in your editor.&#x20;
  {% endhint %}
