All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.diagrams.sankey.sankeyDB.d.ts Maven / Gradle / Ivy

Go to download

Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.

There is a newer version: 11.4.0
Show newest version
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: Map;
    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;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy