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

package.dist.diagrams.er.erDiagram.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
export declare const diagram: {
    parser: any;
    db: {
        Cardinality: {
            ZERO_OR_ONE: string;
            ZERO_OR_MORE: string;
            ONE_OR_MORE: string;
            ONLY_ONE: string;
            MD_PARENT: string;
        };
        Identification: {
            NON_IDENTIFYING: string;
            IDENTIFYING: string;
        };
        getConfig: () => import("../../config.type.js").ErDiagramConfig | undefined;
        addEntity: (name: string, alias?: string | undefined) => any;
        addAttributes: (entityName: any, attribs: any) => void;
        getEntities: () => Map;
        addRelationship: (entA: any, rolA: any, entB: any, rSpec: any) => void;
        getRelationships: () => any[];
        clear: () => void;
        setAccTitle: (txt: string) => void;
        getAccTitle: () => string;
        setAccDescription: (txt: string) => void;
        getAccDescription: () => string;
        setDiagramTitle: (txt: string) => void;
        getDiagramTitle: () => string;
    };
    renderer: {
        setConf: (cnf: any) => void;
        draw: (text: any, id: any, _version: any, diagObj: any) => void;
    };
    styles: (options: any) => string;
};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy