43 lines
1.2 KiB
TypeScript
43 lines
1.2 KiB
TypeScript
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 {};
|