The links of the Sankey. The links are the connections between the nodes. Each link has a sourceId and targetId that correspond to the id of the source and target nodes, and a value that represents the value of the link.

Example

<div id="sankey" style="width: 500px; height: 200px;"></div>
<script>
    $("#sankey").kendoSankey({
        data: {
            nodes: [
                { id: 1, label: { text: "Source 1" } },
                { id: 2, label: { text: "Source 2" } },
                { id: 3, label: { text: "Target" } }
            ],
            links: [
                { sourceId: 1, targetId: 3, value: 50 },
                { sourceId: 2, targetId: 3, value: 30 }
            ]
        }
    });
</script>
In this article
data.linksRelated Properties
Not finding the help you need?
Contact Support