Updated the function to use class method on-behalf-of: @Mermaid-Chart <hello@mermaidchart.com>

This commit is contained in:
shubham-mermaid
2025-07-11 15:18:41 +05:30
parent c12aea588c
commit ad024b01d6

View File

@@ -77,14 +77,14 @@ export class TreeMapDB implements DiagramDB {
return this.classes.get(classSelector)?.styles ?? [];
}
public clear = () => {
public clear() {
commonClear();
this.nodes = [];
this.levels = new Map();
this.outerNodes = [];
this.classes = new Map();
this.root = undefined;
};
}
public setAccTitle = setAccTitle;
public getAccTitle = getAccTitle;