data.nodes.idNumber|String(required)

The ID of the node. The ID is used to connect the nodes with the links.

Example

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