API reference: @salmonui/charts/sankey-chart
SankeyNodeinterface
import type { SankeyNode } from '@salmonui/charts/sankey-chart';interface SankeyNode {
readonly id: string;
readonly label?: string | undefined;
readonly offset?: number | undefined;
readonly color?: string | undefined;
}
| Name | Signature | Description |
|---|---|---|
id | readonly id: string; | |
labeloptional | readonly label?: string | undefined; | |
offsetoptional | readonly offset?: number | undefined; | Pixel shift along the column after layout. |
coloroptional | readonly color?: string | undefined; | Data color. |