The default links configuration of the Sankey. The links configuration options will be overridden by the data.links configuration.

Example - Setting the default links options of the Sankey

<div id="sankey" style="width: 500px; height: 200px;"></div>
<script>
    $("#sankey").kendoSankey({
        data: {
            nodes: [
                { id: 1, label: { text: "Node 1" } },
                { id: 2, label: { text: "Node 2" } },
                { id: 3, label: { text: "Node 3" } }
            ],
            links: [
                { sourceId: 1, targetId: 3, value: 2 },
                { sourceId: 2, targetId: 3, value: 1 }
            ]
        },
        links: {
            color: "green",
            colorType: "static",
            highlight: {
                inactiveOpacity: 0.2,
                opacity: 0.8
            },
            opacity: 1
        }
    });
</script>
In this article