summaryrefslogtreecommitdiff
path: root/themes/blowfish/assets/lib/mermaid/diagrams/flowchart/flowDiagram-v2.d.ts
blob: 3105c6ea9c3330b0109283b4004e19344ce22522 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import type { MermaidConfig } from '../../config.type.js';
export declare const diagram: {
    parser: any;
    db: {
        defaultConfig: () => import("../../config.type.js").FlowchartDiagramConfig | undefined;
        setAccTitle: (txt: string) => void;
        getAccTitle: () => string;
        getAccDescription: () => string;
        setAccDescription: (txt: string) => void;
        addVertex: (_id: any, textObj: any, type: any, style: any, classes: any, dir: any, props?: {}) => void;
        lookUpDomId: (id: any) => any;
        addLink: (_start: any, _end: any, type: any) => void;
        updateLinkInterpolate: (positions: any, interp: any) => void;
        updateLink: (positions: any, style: any) => void;
        addClass: (ids: any, style: any) => void;
        setDirection: (dir: any) => void;
        setClass: (ids: any, className: any) => void;
        setTooltip: (ids: any, tooltip: any) => void;
        getTooltip: (id: any) => any;
        setClickEvent: (ids: any, functionName: any, functionArgs: any) => void;
        setLink: (ids: any, linkStr: any, target: any) => void;
        bindFunctions: (element: any) => void;
        getDirection: () => any;
        getVertices: () => any;
        getEdges: () => any;
        getClasses: () => any;
        clear: (ver?: string) => void;
        setGen: (ver: any) => void;
        defaultStyle: () => string;
        addSubGraph: (_id: any, list: any, _title: any) => any;
        getDepthFirstPos: (pos: any) => any;
        indexNodes: () => void;
        getSubGraphs: () => any[];
        destructLink: (_str: any, _startStr: any) => {
            type: string;
            stroke: string;
        };
        lex: {
            firstGraph: () => boolean;
        };
        exists: (allSgs: any, _id: any) => boolean;
        makeUniq: (sg: any, allSubgraphs: any) => {
            nodes: any[];
        };
        setDiagramTitle: (txt: string) => void;
        getDiagramTitle: () => string;
    };
    renderer: {
        setConf: (cnf: any) => void;
        addVertices: (vert: any, g: any, svgId: any, root: any, doc: any, diagObj: any) => Promise<void>;
        addEdges: (edges: object, g: object, diagObj: any) => Promise<void>;
        getClasses: (text: any, diagObj: any) => Record<string, import("../../diagram-api/types.js").DiagramStyleClassDef>;
        draw: (text: any, id: any, _version: any, diagObj: any) => Promise<void>;
    };
    styles: (options: import("./styles.js").FlowChartStyleOptions) => string;
    init: (cnf: MermaidConfig) => void;
};