mermaid
Version:
Markdown-ish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.
5 lines (4 loc) • 387 B
TypeScript
export function calculateSvgSizeAttrs(height: number, width: number, useMaxWidth: boolean): Map<'height' | 'width' | 'style', string>;
export function configureSvgSize(svgElem: SVG, height: number, width: number, useMaxWidth: boolean): void;
export function setupGraphViewbox(graph: any, svgElem: any, padding: any, useMaxWidth: any): void;
import { SVG } from './diagram-api/types.js';