data.links.sourceIdNumber|String(required)

The source node ID of the link. The source node is the node from which the link originates.

Example

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