# Templates Diagram

The *Templates Diagram* provides a high-level view of the inheritance relationships between all of the templates in your solution. The Templates Diagram is generated for all solutions, regardless of whether or not you have set the Helix settings so that more granular diagrams can be shown.

It is worth noting that the Templates Diagram isn't typically the most useful diagram on its own. Most solutions have over 100 templates, and as the number of templates and the amount of template inheritance grows the readability of the diagram diminishes. Regardless, this is still a good diagram for showing those templates most heavily relied upon and for getting a decent overall understanding of how inheritance has been leveraged on a solution.

![A small portion of the Templates Diagram generated for Habitat](https://3773347095-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMm7Br9HnvoPUnrSjNk%2F-LXu8GWgRrqK3XHd-CXD%2F-LXu9IyXUpP6MZZCK1Kt%2FTemplatesDiagram.png?alt=media\&token=ed7f33e5-64c2-4829-87a9-f3baed466b50)


---

# 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://sitecoreuml.gitbook.io/sitecoredxg/about-the-generated-documentation/diagrams/templates-diagram.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.
