> For the complete documentation index, see [llms.txt](https://docs.dinmo.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dinmo.io/models/overview/graph-view.md).

# Graph view

Explore the relationships and dependencies between models in your DinMo workspace.

## Overview

Graph view provides a visual map of the relationships between models in your workspace.

Use it to understand how customer, transaction, product, event, and other business models connect before building segments, computed fields, or activations.

<figure><img src="https://3204318043-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxzBTp1t4OfqV67nXkVse%2Fuploads%2Fgit-blob-4bbb1e647ced049e24255bc7a0976aad0ff45ecb%2Fmodel-graph-view.png?alt=media" alt="Graph view showing All customers connected to related models including Transactions and Products"><figcaption><p>Explore relationships between models from a visual diagram.</p></figcaption></figure>

## Open Graph view

1. Open **Models**.
2. Select **Graph view**.
3. Use the diagram to explore the models and relationships in your workspace.

Turn on **Only from Default Model** to focus on the models connected to the default model.

## Understand relationships

Each card represents a model. Lines between cards represent the relationships configured between models.

Graph view helps you identify the relationship type, join keys, and upstream or downstream dependencies between models.

| Relationship | Meaning in DinMo                                                                                |
| ------------ | ----------------------------------------------------------------------------------------------- |
| `1:1`        | A **Has one** relationship: one record is associated with one record in another model.          |
| `1:N`        | A **Has many** relationship: one record is associated with several records in another model.    |
| `N:1`        | A **Belongs to** relationship: several records are associated with one record in another model. |

## Inspect a model

Select a model in the diagram to open its details panel.

The panel shows the model's fields and data types, as well as the number of computed fields and relationships associated with it. Use this information to understand which data is available before you use the model in a segment or activation.

## Use Graph view

Use Graph view to:

* Identify the right related model before building a segment.
* Understand which model should contain a computed field.
* Check how models are connected before creating a Related field.
* Share a clear view of the workspace data model with business and data teams.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.dinmo.io/models/overview/graph-view.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
