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

# Diagram

> Navigate diagrams and work with their assets, relations, and display options.

## General

Clicking on `Custom Views` in the left sidebar and selecting `Diagram` displays all available diagram views. Clicking on a list item opens the corresponding view.

## Diagram Toolbars

In the following list, the functions of the top toolbar within diagram views are explained from left to right:

* `View Title` and –if active– `Context View` or `Focus View`
* `Search Bar`: finds, highlights and focuses the view on searched assets

**Editing**

* `Edit Mode Toggle`: activates or deactivates the creation and modification of assets, relations and their properties
* `Edit – Add Asset` (only when "edit mode" is activated)
* `Edit – Add Relation` (only when "edit mode" is activated)
* `Edit – Save View as Default`: Persist the current view configuration (selected filters & analysis rules) as standard
* `Edit – Edit View`: jump directly to the "edit view" window for this specific view

![Diagram: Diagram Toolbars](https://mintcdn.com/qbilon-docs/Jmla3tEw4FRYjkNT/.gitbook/assets/726d7d99-caa8-4266-811b-f0b4afe8d65a-image.png?fit=max\&auto=format\&n=Jmla3tEw4FRYjkNT\&q=85\&s=2b2b38e9140f04456777593709c5d60f)

Additional Diagram toolbar module when "Edit mode" is activated

**Layouting**

* `Layout – Relayout`: rearranges assets and relations according to the selected last layout
* `Layout – Select`: Switch between "Hierarchic", "Organic" and "Orthogonal" Layout

**View Options**

* `View` – (two dashes): Switch between `All Assets`, `Only Isolated Assets` and `Only Connected Assets`
* `View – Toggle Sublabels`:
* `View – Toggle Relation Labels`:
* `View – Toggle Relation Folding`:
* `Export – PNG Export`: download the current view as PNG file
* `Export – View Export`: download the current view definition as "qb file".

![Diagram: Diagram Toolbars](https://mintcdn.com/qbilon-docs/Jmla3tEw4FRYjkNT/.gitbook/assets/b13f686e-9241-4556-bc71-eb9e75fc2e79-screenshot-2026-10-09-141714.png?fit=max\&auto=format\&n=Jmla3tEw4FRYjkNT\&q=85\&s=2807cddfd3b5d5cd5bd591e786946752)

The view panel with its different buttons to modify the vvisualization

On the lower right corner of the diagram visualization window, there is a vertical toolbar with three buttons for adjusting the current zoom level:

* ![Diagram Toolbars](https://mintcdn.com/qbilon-docs/Jmla3tEw4FRYjkNT/.gitbook/assets/57e35f05-d06b-48e9-8504-710ec9c5209c-fittoscreen.png?fit=max\&auto=format\&n=Jmla3tEw4FRYjkNT\&q=85\&s=640da092a80b980c824def8421ed4642) `Fit Diagram to Screen` triggers showing all assets and relations at once
* ![Diagram Toolbars](https://mintcdn.com/qbilon-docs/Jmla3tEw4FRYjkNT/.gitbook/assets/6338f9ca-1813-4028-93b5-12d74e4045ce-plus-zoom.png?fit=max\&auto=format\&n=Jmla3tEw4FRYjkNT\&q=85\&s=ebe5c86c098208492164ba0129b2a568) `Zoom In` enlarges the size of the shown diagram section
* ![Diagram Toolbars](https://mintcdn.com/qbilon-docs/aJQhbcvq7mtvhV0w/.gitbook/assets/5322a7aa-758e-4427-bb76-e9e90dc3ae41-minus-zoom.png?fit=max\&auto=format\&n=aJQhbcvq7mtvhV0w\&q=85\&s=305e4be8ed23e431fbeb23447c820ddd) `Zoom Out` shrinks the size of the shown diagram section

## Layouts

Different layouts for the diagram can be applied to properly illustrate the IT landscape: `Hierarchic`, `Organic` and `Orthogonal`.

### Hierarchic Layout

According to the [`yFiles`](https://www.yworks.com/products/yfiles/documentation) [documentation](https://www.yworks.com/products/yfiles/documentation) the *"hierarchical layout style aims to highlight the main direction or flow within a directed graph. The nodes of a graph are placed in hierarchically arranged layers such that the (majority of) edges of the graph show the same overall orientation, for example, top-to-bottom. Additionally, the ordering of the nodes within each layer is chosen in such a way that the number of edge crossings is small."*

![Diagram: Hierarchic Layout](https://mintcdn.com/qbilon-docs/lr-P4KF_9wn8x9Vs/.gitbook/assets/da792a9b-d7b4-4f58-ae3e-67e64557444c-screenshot-2026-10-09-142704.png?fit=max\&auto=format\&n=lr-P4KF_9wn8x9Vs\&q=85\&s=9a10a28e32194e324103cdf887ab0550)

Hierarchic layout example

### Organic Layout

According to the [`yFiles`](https://www.yworks.com/products/yfiles/documentation) [documentation](https://www.yworks.com/products/yfiles/documentation) the *"organic layout style is based on the force-directed layout paradigm. When calculating a layout, the nodes are considered to be physical objects with mutually repulsive forces, like, e.g., protons or electrons. The connections between nodes also follow the physical analogy and are considered to be springs attached to the pair of nodes."*

![Diagram: Organic Layout](https://mintcdn.com/qbilon-docs/aJQhbcvq7mtvhV0w/.gitbook/assets/503d014c-40b1-4196-bfa7-8ee998b75f6f-screenshot-2026-10-09-142751.png?fit=max\&auto=format\&n=aJQhbcvq7mtvhV0w\&q=85\&s=5cca648e9e5dddc7a29efb3625898087)

Organic layout example

### Orthogonal Layout

According to the [`yFiles`](https://www.yworks.com/products/yfiles/documentation) [documentation](https://www.yworks.com/products/yfiles/documentation) the *"orthogonal layout is a multi-purpose layout provider for undirected graphs. It produces clear representations of complex networks."*

![Diagram: Orthogonal Layout](https://mintcdn.com/qbilon-docs/lr-P4KF_9wn8x9Vs/.gitbook/assets/bf3c0f4d-b6c1-4ce2-987d-7b3887bf62fc-screenshot-2026-10-09-142827.png?fit=max\&auto=format\&n=lr-P4KF_9wn8x9Vs\&q=85\&s=d913be3f153283cfbe3dcc41cba72217)

Orthogonal layout example

## Toolbar Menu in Diagram Views

### Actions for Assets & Relations

![Actions for Assets & Relations](https://mintcdn.com/qbilon-docs/Jmla3tEw4FRYjkNT/.gitbook/assets/6de02ff3-8894-470a-80dd-db434c0e589f-image.png?fit=max\&auto=format\&n=Jmla3tEw4FRYjkNT\&q=85\&s=3b03ad946d290491af8a9fcd7c9d6721) `Set Focus` (only for assets)
opens a "Focus View" for the selected asset that only shows the asset itself together with its direct "neighborhood". Exiting the focus view is possible by clicking on the ![Actions for Assets & Relations](https://mintcdn.com/qbilon-docs/Jmla3tEw4FRYjkNT/.gitbook/assets/a0f2cf0c-3856-4c8e-a0e9-2c4cc95ff7bd-image.png?fit=max\&auto=format\&n=Jmla3tEw4FRYjkNT\&q=85\&s=52b03136e8f6ade5aea7170df1d3e5c1) icon next to the view title in the top menu bar.

![Actions for Assets & Relations](https://mintcdn.com/qbilon-docs/aJQhbcvq7mtvhV0w/.gitbook/assets/15ae811e-6c43-44b0-888a-792e28a64120-image.png?fit=max\&auto=format\&n=aJQhbcvq7mtvhV0w\&q=85\&s=88a0e26a44ddf5f67ed665b2b4042a1b) `Open Context View` (only assets)
is used to create a context view showing a "dependency tree" for the selected asset.
There are different kinds of configurable context views:

* The `Direct Neighborhood` view visualizes the immediate neighbor relationships of the selected asset. This allows, for example, the display of departmental responsibilities for specific products or the mapping of applications to corresponding services.
* The `Extended Neighborhood` view displays all extended neighbor relationships of a specific asset. For instance, if an asset of the 'Product' type is chosen as the starting point, this view not only shows the direct neighbor but also assets of the 'Application' type and the nearest neighbors, such as a 'Service' asset.
* The `Full Incoming Dependency Tree` creates a comprehensive tree of dependencies for the selected assets, considering only incoming relationships. For example, when a server is selected, all incoming dependencies throughout the chain are visualized, starting from services and applications, all the way to organizational units.
* The `Full Outgoing Dependency Tree` focuses on the opposite relationships, specifically all outgoing neighboring assets. For instance, when an asset of the 'Application' type is selected, this tree not only displays the directly dependent services but also tracks all dependencies up to the infrastructure level.
* The `Custom` feature shows all neighbors according to the user's configuration: all incoming and/or outgoing neighbors of the selected start assets are shown with a defined "depth" (`Steps in Diagram`) of neighborhood within the selected "General View".

![Actions for Assets & Relations](https://mintcdn.com/qbilon-docs/lr-P4KF_9wn8x9Vs/.gitbook/assets/d32f23df-b504-484e-9667-ffe736d9b96f-image.png?fit=max\&auto=format\&n=lr-P4KF_9wn8x9Vs\&q=85\&s=fdf164e52dd49aea301f815310fb0d47) `Delete Asset` & `Delete Relation` (only in "Edit Mode")
remove a specific asset/relation instance from the data set.

### Global Actions

![Global Actions](https://mintcdn.com/qbilon-docs/Jmla3tEw4FRYjkNT/.gitbook/assets/650e8e9d-3895-413b-8404-6c9b8140974e-image.png?fit=max\&auto=format\&n=Jmla3tEw4FRYjkNT\&q=85\&s=948ab3f3ae3b9162078d96f4ea4e3ce5) `Expand Group Assets`
increments the current "expand/collapse level" of grouped assets, so that all visible, collapsed asset containers ("group nodes") are expanded.

![Global Actions](https://mintcdn.com/qbilon-docs/lr-P4KF_9wn8x9Vs/.gitbook/assets/ccd07721-6f27-447e-b21e-273b3648db67-image.png?fit=max\&auto=format\&n=lr-P4KF_9wn8x9Vs\&q=85\&s=fb412c0d2dbf137c1889f6a0fe6c1e32) `Collapse Group Assets`
decreases the current "expand/collapse level" of grouped assets, so that all visible, innermost asset containers ("group nodes") are collapsed/closed.

![Global Actions](https://mintcdn.com/qbilon-docs/aJQhbcvq7mtvhV0w/.gitbook/assets/43efdfe9-630d-4a70-b5b3-c3e891099707-image.png?fit=max\&auto=format\&n=aJQhbcvq7mtvhV0w\&q=85\&s=de3ae908dc733838f140d4d17f0c1fa9) `Toggle Sublabels`
switches between showing "sublabels" below the name tag of assets or hiding them. By default, sublabels are activated and show the type of each asset.

![Global Actions](https://mintcdn.com/qbilon-docs/Jmla3tEw4FRYjkNT/.gitbook/assets/7324c266-9355-4f1e-8dbe-bfc240c84b24-image.png?fit=max\&auto=format\&n=Jmla3tEw4FRYjkNT\&q=85\&s=9455ef63bc2ec4d3dd8341602e77202a) `Toggle Relation Labels`
switches between displaying the name labels of relations or hiding them. By default, relation labels are deactivated.

![Global Actions](https://mintcdn.com/qbilon-docs/lr-P4KF_9wn8x9Vs/.gitbook/assets/fbec35ca-ca84-4cba-9863-ac8cf80c5641-image.png?fit=max\&auto=format\&n=lr-P4KF_9wn8x9Vs\&q=85\&s=6ca421de7a8da66ce6cbda5cb3e2f9a9) `Toggle Relation Folding`
activates or deactivates the visual "merging" of multiple "parallel relations" between an asset container ("group node") and another asset or container.

![Diagram: Global Actions](https://mintcdn.com/qbilon-docs/lr-P4KF_9wn8x9Vs/.gitbook/assets/f0f90762-41f8-421b-a44a-37bb533aaf9a-download-1.png?fit=max\&auto=format\&n=lr-P4KF_9wn8x9Vs\&q=85\&s=9a24e9c94bf3e5f0c02c488c5ab39802)

Deactivated "Relation Folding"

![Diagram: Global Actions](https://mintcdn.com/qbilon-docs/aJQhbcvq7mtvhV0w/.gitbook/assets/2b0b8ac8-5bf0-47f9-897d-ebf651731daf-download-2.png?fit=max\&auto=format\&n=aJQhbcvq7mtvhV0w\&q=85\&s=f71b166af9274060dee2ee43c13b65ff)

Activated "Relation Folding"

![Global Actions](https://mintcdn.com/qbilon-docs/aJQhbcvq7mtvhV0w/.gitbook/assets/4305208f-9695-464f-bb4d-8d048981d499-image.png?fit=max\&auto=format\&n=aJQhbcvq7mtvhV0w\&q=85\&s=3c8cf70f527726a7e416af8d253c1b82) `Save View as Default`
stores the current view configuration as default setting including the last layouter used, currently displayed asset and relation types, all filter settings, the analysis rules configuration as well as a possibly activated focus view.

Once the default view is set, the diagram view will return to this specific state each time it is opened. In addition, the diagram view's "preview tile" on the home screen is updated accordingly.

![Global Actions](https://mintcdn.com/qbilon-docs/lr-P4KF_9wn8x9Vs/.gitbook/assets/bbd53335-6906-47ff-b6f8-69b54a394e34-image.png?fit=max\&auto=format\&n=lr-P4KF_9wn8x9Vs\&q=85\&s=0797371a4f62211e6cc605e8738faae5) `Open Context View`
is used to create a context view showing a "dependency tree" for a set of selected assets.
There are different kinds of configurable context views:

* The `Direct Neighborhood` view visualizes the immediate neighbor relationships of the selected asset. This allows, for example, the display of departmental responsibilities for specific products or the mapping of applications to corresponding services.
* The `Extended Neighborhood` view displays all extended neighbor relationships of a specific asset. For instance, if an asset of the 'Product' type is chosen as the starting point, this view not only shows the direct neighbor but also assets of the 'Application' type and the nearest neighbors, such as an 'Service' asset.
* The `Full Incoming Dependency Tree` creates a comprehensive tree of dependencies for the selected assets, considering only incoming relationships. For example, when a server is selected, all incoming dependencies throughout the chain are visualized, starting from services and applications, all the way to organizational units.
* The `Full Outgoing Dependency Tree` focuses on the opposite relationships, specifically all outgoing neighboring assets. For instance, when an asset of the 'Application' type is selected, this tree not only displays the directly dependent services but also tracks all dependencies up to the infrastructure level.
* The `Custom` feature shows all neighbors according to the user's configuration: all incoming and/or outgoing neighbors of the selected start assets are shown with a defined "depth" (`Steps in Diagram`) of neighborhood within the selected "General View".

`+ Add Asset` (only in "Edit Mode")
starts the dialog to create a new asset as described in the section "General View Actions".

`+ Add Relation` (only in "Edit Mode")
starts the dialog to create a new relation as described in the section "General View Actions".

## "Drill Down" in Diagram Views

Relations can either be shown as "line" or as "container", cf. [Creating Diagrams](https://doc.qbilon.io/08-creating-views/creating-diagrams.md).

Interpreting and visualizing relations as "containers" makes it possible to create views with "multiple nesting levels".

![Diagram: "Drill Down" in Diagram Views](https://mintcdn.com/qbilon-docs/aJQhbcvq7mtvhV0w/.gitbook/assets/45e4e905-b095-4692-853c-e67eef3a37a2-screenshot-2026-10-09-143314.png?fit=max\&auto=format\&n=aJQhbcvq7mtvhV0w\&q=85\&s=c5630ef282853d18633962279e9d4e5d)

Multiple nesting example: the VM "FRA-VM-0028" inside the Server "FRA-SRV-008" inside the Site "DC Frankfurt"

Different levels of "nesting" can be displayed using the "Group Assets Slider" in the upper right corner of the diagram visualization.

![Diagram: "Drill Down" in Diagram Views](https://mintcdn.com/qbilon-docs/Jmla3tEw4FRYjkNT/.gitbook/assets/73a8b56d-20db-41ae-b196-e52e4cdd83df-screenshot-2026-10-09-143414.png?fit=max\&auto=format\&n=Jmla3tEw4FRYjkNT\&q=85\&s=c1fa6a905e2e8b86a590e73541338c8d)

"Asset Groups Nesting Slider": The number of "drill down" levels is not limited.

![Diagram: "Drill Down" in Diagram Views](https://mintcdn.com/qbilon-docs/aJQhbcvq7mtvhV0w/.gitbook/assets/54d288ef-22c6-4bb9-aa44-cb7920569f1c-screenshot-2026-10-09-143640.png?fit=max\&auto=format\&n=aJQhbcvq7mtvhV0w\&q=85\&s=4747600501d7957e99a7c077325e33d0)

"Drill Down" example: only the four root asset instances of type "Site" are shown (level 1)

![Diagram: "Drill Down" in Diagram Views](https://mintcdn.com/qbilon-docs/aJQhbcvq7mtvhV0w/.gitbook/assets/1f3f0f84-2787-4c6d-904f-41eae895b011-screenshot-2026-10-09-143743.png?fit=max\&auto=format\&n=aJQhbcvq7mtvhV0w\&q=85\&s=857a2d27f4704bf22a8250e5dbc69b33)

"Drill Down" example: all assets within "Sites" and "Servers" are shown (level 3)

## Context Views

When an asset is selected, the `Open Context Views` button in the bottom menu leads to different kinds of views focusing on specific assets:

* The `Direct Neighborhood` view visualizes the immediate neighbor relationships of the selected asset. This allows, for example, the display of departmental responsibilities for specific products or the mapping of applications to corresponding services.
* The `Extended Neighborhood` view displays all extended neighbor relationships of a specific asset. For instance, if an asset of the 'Product' type is chosen as the starting point, this view not only shows the direct neighbor but also assets of the 'Application' type and the nearest neighbors, such as an 'Service' asset.
* The `Full Incoming Dependency Tree` creates a comprehensive tree of dependencies for the selected assets, considering only incoming relationships. For example, when a server is selected, all incoming dependencies throughout the chain are visualized, starting from services and applications, all the way to organizational units.
* The `Full Outgoing Dependency Tree` focuses on the opposite relationships, specifically all outgoing neighboring assets. For instance, when an asset of the 'Application' type is selected, this tree not only displays the directly dependent services but also tracks all dependencies up to the infrastructure level.
* The `Custom` feature shows all neighbors according to the user's configuration: all incoming and/or outgoing neighbors of the selected start asset s are shown with a defined "depth" (`Steps in Diagram`) of neighborhood within the selected "General View".

A context view for an already existing diagram view can also be created by hovering over a diagram view tile and then clicking on `Open as Context View`. Afterwards, a dialog opens that allows to configure a context view as described above.

![Diagram: Context Views](https://mintcdn.com/qbilon-docs/aJQhbcvq7mtvhV0w/.gitbook/assets/213500f6-23e6-4228-b405-98fdff07f9cb-screenshot-2026-10-09-143853.png?fit=max\&auto=format\&n=aJQhbcvq7mtvhV0w\&q=85\&s=d24316105e935d0f518dd94f8d30c87f)

Configuring a "Context View" with the "Direct Neighborhood" preset

![Diagram: Context Views](https://mintcdn.com/qbilon-docs/Jmla3tEw4FRYjkNT/.gitbook/assets/7567da4f-8a05-4865-85e3-3a62811d09d7-screenshot-2026-10-09-143937.png?fit=max\&auto=format\&n=Jmla3tEw4FRYjkNT\&q=85\&s=a6465d456dbc130ccb511a33cb9b1cd2)

Configuring a `Custom Context View` with individual `Direction` and `Steps in Diagram` settings


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