data.links.targetIdNumber|String(required)
The target node ID of the link. The target node is the node to which the link points.
Example
<div id="sankey" style="width: 500px; height: 200px;"></div>
<script>
$("#sankey").kendoSankey({
data: {
nodes: [
{ id: 1, label: { text: "Source Node" } },
{ id: 2, label: { text: "Target Node" } }
],
links: [
{ sourceId: 1, targetId: 2, value: 10 }
]
}
});
</script>
In this article