View as Markdown

API reference: @salmonui/charts/sankey-chart

SankeyLinkInfointerface

import type { SankeyLinkInfo } from '@salmonui/charts/sankey-chart';
interface SankeyLinkInfo {
    readonly index: number;
    readonly source: SankeyNodeInfo;
    readonly target: SankeyNodeInfo;
    readonly value: number;
}
SankeyLinkInfo members (4)
NameSignatureDescription
indexreadonly index: number;

Index in links.

sourcereadonly source: SankeyNodeInfo;
targetreadonly target: SankeyNodeInfo;
valuereadonly value: number;