> For the complete documentation index, see [llms.txt](https://docs.buildings.ability.abb/collection/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.buildings.ability.abb/collection/german-14.2-freezed/dokumentation/widgets/vordefinierte-widgets/sankey-diagramm.md).

# Sankey-Diagramm

Sankey-Diagramme eignen sich besonders gut, um Zu- und Abflüsse zu einer Menge darzustellen.

Da die Zu- und Abflüsse durch mengenproportional dicke Pfeile dargestellt werden, können z.B. Energieflüsse intuitiv verständlich gemacht werden.

<div data-full-width="true"><figure><img src="https://content.gitbook.com/content/Nyvwhz1kEMXcHf4HLuZ8/blobs/VUHr2galUFnXjsDwZqLv/A86A460A-F303-48CF-BD3B-9B7B4FBEB064.png" alt=""><figcaption><p>Ein Sankey-Diagramm mit 2 Zuflüssen (links) und mehreren Abflüssen (rechts).</p></figcaption></figure></div>

## Wann sollte diese Darstellung genutzt werden?

Das Sankey-Diagramm sollte genutzt werden, wenn Sie Energie- und Materialflüsse darstellen möchten. Sankey-Diagramme sind hervorragend geeignet, um darzustellen wie wiel von der Gesamtleistung von einzelnen Verbrauchern beansprucht wird.

## Widget konfigurieren

{% @supademo/embed url="<https://app.supademo.com/demo/_yIBx6mWTACoiIBCX7jqX>" demoId="\_yIBx6mWTACoiIBCX7jqX" fullWidth="true" %}

1. Vergewissern Sie sich, dass Sie sich im Menü "Dashboard" befinden
2. Klicken Sie auf "Widget hinzufügen"
3. Klicken Sie auf "View"
4. Klicken Sie auf "Sankey-Übersicht"
5. Wählen Sie das Primäre Asset. Der Name dieses Assets wird in der Titelzeile des Widgets erscheinen.
6. Wählen Sie ein Asset, das als Quelle agieren soll.
7. Wählen Sie das Attribut der Quelle.
8. Wählen Sie, ob der Aktuelle Wert oder der Aggregierte Wert für Berechnungen genutzt werden soll.
9. Optional: Wiederholen Sie die letzten Schritte, um eine weitere Quelle zu erstellen.
10. Wählen Sie ein Asset, das als Senke agieren soll. Eine Senke kann z.B. ein Verbraucher sein.
11. Wählen Sie das Attribut der Senke.
12. Wählen Sie, ob der Aktuelle Wert oder der Aggregierte Wert für Berechnungen genutzt werden soll.
13. Optional: Wiederholen Sie die letzten Schritte, um eine weitere Senken zu erstellen.
14. Optional: Wählen Sie, wie viel Raum Ihr neues Widget auf dem Dashboard einnehmen soll.
15. Klicken Sie auf "Widget hinzufügen"


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.buildings.ability.abb/collection/german-14.2-freezed/dokumentation/widgets/vordefinierte-widgets/sankey-diagramm.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
