package.dist.rendering-util.rendering-elements.shapes.util.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.
/**
* @param parent
* @param w
* @param h
* @param points
*/
export function insertPolygonShape(parent: any, w: any, h: any, points: any): any;
export function labelHelper(parent: any, node: any, _classes: any): Promise<{
shapeSvg: any;
bbox: any;
halfPadding: number;
label: any;
}>;
export function updateNodeBounds(node: any, element: any): void;
export function getNodeClasses(node: any, extra: any): string;