# Sankey

Using the "Sankey" module, you can embed Sankey diagrams in a widget.&#x20;

Sankey diagrams are particularly well suited for showing inflows and outflows for a quantity.

Since the inflows and outflows are displayed as arrows whose thickness is proportional to the quantity, energy flows, for example, can be made intuitively understandable.

<figure><img src="https://content.gitbook.com/content/Nyvwhz1kEMXcHf4HLuZ8/blobs/CV8ZC1LGdr57t77RaEWy/A44982D5-25AB-4CDD-925C-63B338D5F795.png" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="80.33333333333331"></th><th width="199"></th><th></th></tr></thead><tbody><tr><td><strong>[A]</strong></td><td>Description</td><td>This text is displayed when the custom widget is later linked to assets</td></tr><tr><td><strong>[B]</strong></td><td>Text</td><td>Free text</td></tr><tr><td><strong>[C]</strong></td><td>Show total</td><td>Displays the total value of all sinks, rounded to whole numbers.</td></tr></tbody></table>

{% hint style="info" %}
You can find out how this module is used in practice [here](https://docs.buildings.ability.abb/collection/english-v14/documentation/widgets/predefined-widgets/sankey-diagram)
{% endhint %}
