mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-11 19:39:43 +02:00
Updated the function to use class method on-behalf-of: @Mermaid-Chart <hello@mermaidchart.com>
This commit is contained in:
@@ -77,14 +77,14 @@ export class TreeMapDB implements DiagramDB {
|
|||||||
return this.classes.get(classSelector)?.styles ?? [];
|
return this.classes.get(classSelector)?.styles ?? [];
|
||||||
}
|
}
|
||||||
|
|
||||||
public clear = () => {
|
public clear() {
|
||||||
commonClear();
|
commonClear();
|
||||||
this.nodes = [];
|
this.nodes = [];
|
||||||
this.levels = new Map();
|
this.levels = new Map();
|
||||||
this.outerNodes = [];
|
this.outerNodes = [];
|
||||||
this.classes = new Map();
|
this.classes = new Map();
|
||||||
this.root = undefined;
|
this.root = undefined;
|
||||||
};
|
}
|
||||||
|
|
||||||
public setAccTitle = setAccTitle;
|
public setAccTitle = setAccTitle;
|
||||||
public getAccTitle = getAccTitle;
|
public getAccTitle = getAccTitle;
|
||||||
|
Reference in New Issue
Block a user