package.dist.rendering-util.rendering-elements.clusters.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 insertCluster(elem: any, node: import('../types.js').ClusterNode): Promise;
export function getClusterTitleWidth(elem: any, node: any): any;
export function clear(): void;
export function positionCluster(node: any): void;
export type ClusterShapeID = keyof typeof shapes;
declare namespace shapes {
export { rect };
export { squareRect };
export { roundedWithTitle };
export { noteGroup };
export { divider };
export { kanbanSection };
}
declare function rect(parent: any, node: any): Promise<{
cluster: any;
labelBBox: any;
}>;
declare function squareRect(parent: any, node: any): Promise<{
cluster: any;
labelBBox: any;
}>;
declare function roundedWithTitle(parent: any, node: any): Promise<{
cluster: any;
labelBBox: any;
}>;
/**
* Non visible cluster where the note is group with its
*
* @param {any} parent
* @param {any} node
* @returns {any} ShapeSvg
*/
declare function noteGroup(parent: any, node: any): any;
declare function divider(parent: any, node: any): {
cluster: any;
labelBBox: {};
};
declare function kanbanSection(parent: any, node: any): Promise<{
cluster: any;
labelBBox: any;
}>;
export {};