viz.renderers.SankeyLink
export interface SankeyLink {
/** Source node ID */
source: string;
/** Target node ID */
target: string;
/** Flow value/weight */
value: number;
/** Optional label */
label?: string;
/** Custom color [r, g, b, a] */
color?: [number, number, number, number];
}source(string)- – Source node ID
target(string)- – Target node ID
value(number)- – Flow value/weight
label(string)optional- – Optional label
color([number, number, number, number])optional- – Custom color [r, g, b, a]
A link (flow) in the Sankey diagram.