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

package.dist.diagrams.er.erDb.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 namespace _default {
    export { Cardinality };
    export { Identification };
    export function getConfig(): import("../../config.type.js").ErDiagramConfig | undefined;
    export { addEntity };
    export { addAttributes };
    export { getEntities };
    export { addRelationship };
    export { getRelationships };
    export { clear };
    export { setAccTitle };
    export { getAccTitle };
    export { setAccDescription };
    export { getAccDescription };
    export { setDiagramTitle };
    export { getDiagramTitle };
}
export default _default;
declare namespace Cardinality {
    let ZERO_OR_ONE: string;
    let ZERO_OR_MORE: string;
    let ONE_OR_MORE: string;
    let ONLY_ONE: string;
    let MD_PARENT: string;
}
declare namespace Identification {
    let NON_IDENTIFYING: string;
    let IDENTIFYING: string;
}
/**
 * Add entity
 * @param {string} name - The name of the entity
 * @param {string | undefined} alias - The alias of the entity
 */
declare function addEntity(name: string, alias?: string | undefined): any;
declare function addAttributes(entityName: any, attribs: any): void;
declare function getEntities(): Map;
/**
 * Add a relationship
 *
 * @param entA The first entity in the relationship
 * @param rolA The role played by the first entity in relation to the second
 * @param entB The second entity in the relationship
 * @param rSpec The details of the relationship between the two entities
 */
declare function addRelationship(entA: any, rolA: any, entB: any, rSpec: any): void;
declare function getRelationships(): any[];
declare function clear(): void;
import { setAccTitle } from '../common/commonDb.js';
import { getAccTitle } from '../common/commonDb.js';
import { setAccDescription } from '../common/commonDb.js';
import { getAccDescription } from '../common/commonDb.js';
import { setDiagramTitle } from '../common/commonDb.js';
import { getDiagramTitle } from '../common/commonDb.js';




© 2015 - 2024 Weber Informatics LLC | Privacy Policy