mermaid
Version:
Markdown-ish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.
12 lines (11 loc) • 578 B
TypeScript
import type { Group } from '../diagram-api/types.js';
export declare function computeDimensionOfText(parentNode: Group, lineHeight: number, text: string): DOMRect | undefined;
export declare const createText: (el: any, text?: string, { style, isTitle, classes, useHtmlLabels, isNode, width, addSvgBackground, }?: {
style?: string | undefined;
isTitle?: boolean | undefined;
classes?: string | undefined;
useHtmlLabels?: boolean | undefined;
isNode?: boolean | undefined;
width?: number | undefined;
addSvgBackground?: boolean | undefined;
}) => any;