# Diagrams

As a member of the SitecoreUML family, SitecoreDXG naturally generates UML diagrams that model the template architecture of the solution as part of the documentation generation process.

For those who are not familiar with SitecoreUML and its syntax, it is recommended that you first review the [SitecoreUML Syntax](/sitecoredxg/about-the-generated-documentation/diagrams/sitecoreuml-syntax.md) section before proceeding.

### Basic Diagrams

When generating documentation with SitecoreDXG, at a minimum the [Templates Diagram](/sitecoredxg/about-the-generated-documentation/diagrams/templates-diagram.md) and [Template Folders Diagram](/sitecoredxg/about-the-generated-documentation/diagrams/template-folders-diagram.md) will be generated. These two diagrams provide a high-level, overall visual representation of your solution's template architecture. For more information, refer to the following sections:

{% content-ref url="/pages/-LMm99vSj7saKUasIVE3" %}
[Templates Diagram](/sitecoredxg/about-the-generated-documentation/diagrams/templates-diagram.md)
{% endcontent-ref %}

{% content-ref url="/pages/-LMm99vTA7S6Yjun49vM" %}
[Template Folders Diagram](/sitecoredxg/about-the-generated-documentation/diagrams/template-folders-diagram.md)
{% endcontent-ref %}

### Helix Diagrams

Assuming that you have [configured the Helix settings for your solution via the Documentation Configuration item](/sitecoredxg/getting-started/installing-sitecoredxg/general-installation/optional-configure-the-documentation-configuration-item-for-your-solution.md#configuring-the-documentation-configuration-item), multiple more granular and significantly more useful diagrams will be generated for each of the layers and modules in your solution. These diagrams provide high-level and low-level visual representations of your layers and modules, their dependents and their dependencies. For more information, refer to the following sections:

{% content-ref url="/pages/-LMm99vUfPUTiTA1xLoS" %}
[Layer Diagrams](/sitecoredxg/about-the-generated-documentation/diagrams/layer-diagrams.md)
{% endcontent-ref %}

{% content-ref url="/pages/-LMm99vVAQDdiqqodqIN" %}
[Module Diagrams](/sitecoredxg/about-the-generated-documentation/diagrams/module-diagrams.md)
{% endcontent-ref %}

{% content-ref url="/pages/-LMm99vWiZsn8Q62GSfA" %}
[Module Templates Diagrams](/sitecoredxg/about-the-generated-documentation/diagrams/module-templates-diagrams.md)
{% endcontent-ref %}


---

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