mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-12-04 19:44:11 +01:00
Remove constructor and clear method call from TreeMapDB class
on-behalf-of: @Mermaid-Chart <hello@mermaidchart.com>
This commit is contained in:
@@ -21,10 +21,6 @@ export class TreeMapDB implements DiagramDB {
|
|||||||
private classes: Map<string, DiagramStyleClassDef> = new Map<string, DiagramStyleClassDef>();
|
private classes: Map<string, DiagramStyleClassDef> = new Map<string, DiagramStyleClassDef>();
|
||||||
private root?: TreemapNode;
|
private root?: TreemapNode;
|
||||||
|
|
||||||
constructor() {
|
|
||||||
this.clear();
|
|
||||||
}
|
|
||||||
|
|
||||||
public getNodes() {
|
public getNodes() {
|
||||||
return this.nodes;
|
return this.nodes;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user