UNPKG

mermaid

Version:

Markdown-ish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.

4 lines (3 loc) 374 B
export function calculateSvgSizeAttrs(height: number, width: number, useMaxWidth: boolean): Map<'height' | 'width' | 'style', string>; export function configureSvgSize(svgElem: import('./diagram-api/types.js').SVG, height: number, width: number, useMaxWidth: boolean): void; export function setupGraphViewbox(graph: any, svgElem: any, padding: any, useMaxWidth: any): void;