cerebrate/webroot/js/node_modules/mermaid/dist/setupGraphViewbox.d.ts

4 lines
374 B
TypeScript

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;