package.dist.setupGraphViewbox.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mermaid Show documentation
Show all versions of mermaid Show documentation
Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.
The newest version!
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;