blob: 1eaf4b07212496cd4b26abd6596babf234dbf063 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
declare class SankeyLink {
source: SankeyNode;
target: SankeyNode;
value: number;
constructor(source: SankeyNode, target: SankeyNode, value?: number);
}
declare class SankeyNode {
ID: string;
constructor(ID: string);
}
declare const _default: {
nodesMap: Record<string, SankeyNode>;
getConfig: () => import("../../config.type.js").SankeyDiagramConfig | undefined;
getNodes: () => SankeyNode[];
getLinks: () => SankeyLink[];
getGraph: () => {
nodes: {
id: string;
}[];
links: {
source: string;
target: string;
value: number;
}[];
};
addLink: (source: SankeyNode, target: SankeyNode, value: number) => void;
findOrCreateNode: (ID: string) => SankeyNode;
getAccTitle: () => string;
setAccTitle: (txt: string) => void;
getAccDescription: () => string;
setAccDescription: (txt: string) => void;
getDiagramTitle: () => string;
setDiagramTitle: (txt: string) => void;
clear: () => void;
};
export default _default;
|