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

package.dist.diagrams.mindmap.mindmapDb.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
import type { D3Element } from '../../types.js';
import type { MindmapNode } from './mindmapTypes.js';
declare const db: {
    readonly clear: () => void;
    readonly addNode: (level: number, id: string, descr: string, type: number) => void;
    readonly getMindmap: () => MindmapNode | null;
    readonly nodeType: {
        DEFAULT: number;
        NO_BORDER: number;
        ROUNDED_RECT: number;
        RECT: number;
        CIRCLE: number;
        CLOUD: number;
        BANG: number;
        HEXAGON: number;
    };
    readonly getType: (startStr: string, endStr: string) => number;
    readonly setElementForId: (id: number, element: D3Element) => void;
    readonly decorateNode: (decoration?: {
        class?: string;
        icon?: string;
    }) => void;
    readonly type2Str: (type: number) => "rect" | "circle" | "no-border" | "rounded-rect" | "cloud" | "bang" | "hexgon";
    readonly getLogger: () => Record;
    readonly getElementById: (id: number) => any;
};
export default db;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy