better-mermaid
Version:
Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.
18 lines (17 loc) • 738 B
TypeScript
export function setConf(cnf: any): void;
export function addVertices(vert: any, g: any, svgId: any, root: any, doc: any, diagObj: any): Promise<void>;
export function addEdges(edges: object, g: object, diagObj: any): Promise<void>;
export function getClasses(text: any, diagObj: any): Map<string, import('../../diagram-api/types.js').DiagramStyleClassDef>;
export function draw(text: any, id: any, _version: any, diagObj: any): Promise<{
graph: graphlib.Graph;
diagramType: string;
}>;
declare namespace _default {
export { setConf };
export { addVertices };
export { addEdges };
export { getClasses };
export { draw };
}
export default _default;
import * as graphlib from 'dagre-d3-es/src/graphlib/index.js';