nodes.offsetObject(default: { top: 0, left: 0 })

The offset applied to the node's position.

Example

<div id="sankey"></div>
<script>
$("#sankey").kendoSankey({
    data: {
        nodes: [
            { id: 1, label: { text: "Solar" } },
            { id: 2, label: { text: "Electricity" } }
        ],
        links: [
            { sourceId: 1, targetId: 2, value: 40 }
        ]
    },
    nodes: {
        offset: {
            left: 10,
            top: 5
        }
    }
});
</script>
In this article
nodes.offsetRelated Properties
Not finding the help you need?
Contact Support