data.nodes.widthNumber(default: 24)

The width of the node.

Example

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