Files
seagull-game/app/basepak/static/js/mermaid/rendering-util/rendering-elements/clusters.d.ts

43 lines
1.2 KiB
TypeScript
Raw Normal View History

2025-11-23 14:59:17 -08:00
export function insertCluster(elem: any, node: import("../types.js").ClusterNode): Promise<any>;
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 {};