> ## Documentation Index
> Fetch the complete documentation index at: https://doc.qbilon.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Structural Constraints

> Define structural constraints for the data included in a view.

## General

The "Enforce structural constraints" checkbox in the top left-hand corner (above "Assets") allows the user to exclude from the resulting diagram view those assets and relations that do not match the selected "pattern" within the data schema displayed on the right-hand side.

This represents the structure that results from the specifically selected assets and relations.

![Structural Constraints: General](https://mintcdn.com/qbilon-docs/lr-P4KF_9wn8x9Vs/.gitbook/assets/c9174064-a122-419c-9d41-022410564327-screenshot-2026-07-29-152517.png?fit=max\&auto=format\&n=lr-P4KF_9wn8x9Vs\&q=85\&s=078a48e0465f49bbe8141599c8d8bb83)

Location of the "structural matching" feature within the diagram creation.

## Example

We create a diagram view with the following definition in order to see all of PRTG's "Sensor Instances", "Devices", "contains" dependencies between them as well as "PRTG Flow" relations between "Devices" (all green assets & relations).

![Structural Constraints: Example](https://mintcdn.com/qbilon-docs/Jmla3tEw4FRYjkNT/.gitbook/assets/6ffa2803-d153-4a7f-bea8-89669d6f4c52-screenshot-2026-10-08-151854.png?fit=max\&auto=format\&n=Jmla3tEw4FRYjkNT\&q=85\&s=74b9bcc858c6c1de9c9c913c44efde93)

An example diagram view definition

Without using the "Enforce structural constraints" feature, the resulting diagram looks like the following as simply all "PRTG Sensor Instances" and "Device" instances are included (regardless if and how they are connected by relations).

![Structural Constraints: Example](https://mintcdn.com/qbilon-docs/Jmla3tEw4FRYjkNT/.gitbook/assets/8510fd6e-2d56-47a8-9f06-cd3c4940c2b9-screenshot-2024-09-30-115841.png?fit=max\&auto=format\&n=Jmla3tEw4FRYjkNT\&q=85\&s=6093322e8fdd7ca801e9fe25657cc24e)

A diagram view without enforced "structural matching"

When "Structural Matching" is enabled, the shown diagram is heavily reduced as only those assets and relations are displayed that are connected like defined by the "pattern". This structure corresponds to the assets and relations that were selected from the data schema.

For the above example, this means:

* *"each 'PRTG Device' is connected via at least one incoming* ***or*** *outgoing 'PRTG Flow' relation with another 'PRTG Device'"* and
* *"each 'PRTG Sensor Instance' has at least one incoming 'contains' relation from a 'PRTG Device'"*.

As a consequence, any "isolated" assets and "cropped" asset clusters will be ignored in the resulting diagram view.

![Structural Constraints: Example](https://mintcdn.com/qbilon-docs/Jmla3tEw4FRYjkNT/.gitbook/assets/a53b44e8-4c52-49ce-9d2e-77816193ddbe-image.png?fit=max\&auto=format\&n=Jmla3tEw4FRYjkNT\&q=85\&s=a0053629969f279d49135aef4c142563)

The same diagram view with enforced "structural matching"


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.