> For the complete documentation index, see [llms.txt](https://docs.videc.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.videc.de/june5-3.7/en/webanwendung/sichten/diagramme/sankeydiagramm.md).

# Sankey Diagram

The description for creating, deleting, and editing the Sankey diagram can be found in the chapter [Diagrams](/june5-3.7/en/webanwendung/sichten/diagramme.md).

## Setting Options for Measurement Variable

These settings are available via the auxiliary button of the respective measurement variable. The relevant measurement variables are listed in the list view under the heading *Selected*.

* Set Start Node
* Set End Node
* [Measurement Variable Exchange](/june5-3.7/en/webanwendung/sichten/messgroessenaustausch.md)

## Properties

These settings can be found in the [Properties window](/june5-3.7/en/webanwendung/sichten/oberflaeche-und-handling.md).

* Name
* Identification
* [Start Time](/june5-3.7/en/webanwendung/sichten/startzeit.md) *(automatically with current timestamp, absolute or relative)*
* Database
* Connection Color
* Node Selection
* Connections *(all)*
* Widget Border Color (*only in Dashboard possible!*)
* Widget Border Width (*only in Dashboard possible!*)

## Ad Hoc Settings

These settings are located on the vertical toolbar. The vertical toolbar is positioned on the left side of the object. The buttons on the vertical toolbar are disabled when the Properties window is opened!

The vertical toolbar provides buttons for the following settings.

* Refresh *(loads newly occurred values from the data source).*
* Database *(opens a dialog in which the data source for all measurement variables can be changed. For example, it is possible to switch between daily or weekly data in the value display).*
* Set Time *(opens a modal window in which the time point/range can be adjusted).*
* Previous Time Interval
* Next Time Interval
* CSV Export (See chapter [Data Export as CSV](/june5-3.7/en/webanwendung/sichten/datenexport-als-csv.md))
* Current Control (Determines the function type of the mouse pointer. For example: Standard, Pan, or Zoom)
* Display (Determines the display of the object in combination with the value table)
* Format Node Text (Here, the node text can be displayed either multiline (with line break) or single line (without line break)).

## Display

The display of a Sankey diagram is done via nodes and connections. To draw a Sankey diagram, create nodes and connections and link them as needed.

A connection in this case corresponds to a measurement variable. Select a measurement variable from the object list (using the selection button or drag and drop) (See: [Selection and Deselection of Objects](/june5-3.7/en/webanwendung/listenansicht/an-und-abwahl-von-objekten.md)). Then set the start and end nodes in the opened modal window. Click the *Confirm* button afterwards.

If no nodes exist yet, they can be created in the *Properties window* under the point *Nodes*. Likewise, the already configured connections can be reworked in the *Properties window* under the point *Connections*.

### Nodes

A node

* is not a measurement value!
* represents an aggregation of measurement values.
* is needed for connection establishment.
* can have multiple connections or just one connection.
* the node order can be adjusted under node selection. (The order only affects nodes within the same level/column)

### Connection

A connection

* is an area between two nodes
* represents a measurement value as an area.

![](/files/bjHIIJh2ArGh608BrH43)

| Area        | Function                                                          | Description                                                                                                                                                                  |
| ----------- | ----------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Nodes       | <ul><li>Intermediate nodes</li><li>Start, End nodes</li></ul>     | <p>Nodes formed in the Sankey diagram can be defined as start or end nodes.</p><p>Nodes have their own colors and names.</p>                                                 |
| Connections | <ul><li>Area(s) between nodes</li><li>Measurement value</li></ul> | <p>The area of a connection shows the size ratio (of the measured value) in relation to the entire level.</p><p>A connection is used to connect two nodes to each other.</p> |

{% hint style="info" %}

* Only measurement variables with numerical values can be inserted into a Sankey diagram!
* If a measurement variable cannot be inserted into a Sankey diagram, the values of the affected measurement variable will not be displayed in the table next to or below the Sankey diagram.
  {% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.videc.de/june5-3.7/en/webanwendung/sichten/diagramme/sankeydiagramm.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.
