Remove constructor and clear method call from TreeMapDB class

on-behalf-of: @Mermaid-Chart <hello@mermaidchart.com>
This commit is contained in:
shubham-mermaid
2025-07-15 13:44:26 +05:30
parent e95e4d155a
commit 42a3c3487f

View File

@@ -21,10 +21,6 @@ export class TreeMapDB implements DiagramDB {
private classes: Map<string, DiagramStyleClassDef> = new Map<string, DiagramStyleClassDef>();
private root?: TreemapNode;
constructor() {
this.clear();
}
public getNodes() {
return this.nodes;
}