blowfish/node_modules/mermaid/dist/setupGraphViewbox.d.ts

4 lines
351 B
TypeScript
Raw Normal View History

2023-01-29 16:30:24 -06:00
export function calculateSvgSizeAttrs(height: number, width: number, useMaxWidth: boolean): Map<'height' | 'width' | 'style', string>;
export function configureSvgSize(svgElem: SVGSVGElement, height: number, width: number, useMaxWidth: boolean): void;
export function setupGraphViewbox(graph: any, svgElem: any, padding: any, useMaxWidth: any): void;