nodes.paddingNumber(default: 16)
The minimum vertical space between two nodes.
Example
<div id="sankey"></div>
<script>
$("#sankey").kendoSankey({
data: {
nodes: [
{ id: 1, label: { text: "Solar" } },
{ id: 2, label: { text: "Wind" } },
{ id: 3, label: { text: "Electricity" } }
],
links: [
{ sourceId: 1, targetId: 3, value: 30 },
{ sourceId: 2, targetId: 3, value: 10 }
]
},
nodes: {
padding: 24
}
});
</script>
In this article