data.nodes.opacityNumber(default: 1)
The opacity of the node.
Example
<div id="sankey" style="width: 500px; height: 200px;"></div>
<script>
$("#sankey").kendoSankey({
data: {
nodes: [
{ id: 1, label: { text: "Semi-transparent" }, opacity: 0.5 },
{ id: 2, label: { text: "Opaque" }, opacity: 1.0 }
],
links: [
{ sourceId: 1, targetId: 2, value: 10 }
]
}
});
</script>
In this article