UNPKG

351 BTypeScriptView Raw
1export function calculateSvgSizeAttrs(height: number, width: number, useMaxWidth: boolean): Map<'height' | 'width' | 'style', string>;
2export function configureSvgSize(svgElem: SVGSVGElement, height: number, width: number, useMaxWidth: boolean): void;
3export function setupGraphViewbox(graph: any, svgElem: any, padding: any, useMaxWidth: any): void;