# Dependency Tree

Dependency Tree helps you see and track the relationship between components. It allows you to make development decisions confidently, such as which components will be affected if you change a specific component.

## Parent vs. Child components

Omlet displays where a component is used and which components it contains, in other words, its "parent" and "child" components.&#x20;

The parent components are displayed on the left side of the canvas, while the child components are on the right. For instance, in the below example, the Toolbar uses the Button component, and the Dialog component uses the Toolbar.

<figure><img src="/files/qYPujC4qAD4Wz5XopllM" alt=""><figcaption></figcaption></figure>

## Highlight the parent/child relationships

To highlight the relationship, you can pan around in the canvas and hover over a parent or child component.

<figure><img src="/files/BcgnmLIgKT0Hg7rNKXkF" alt=""><figcaption></figcaption></figure>

## Filter components in the dependency tree

You can also have a focused view by filtering the dependency tree for a parent or child component. To do this, head to the components table on the right and select one of the components. You can use the filter options to locate a specific component you're looking for.

<figure><img src="/files/ZN1ZYa6oVWaWJiigvQCA" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.omlet.dev/cli-and-dashboard/components/dependency-tree.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
