Set generation to gen-2 in clear

This commit is contained in:
Saurabh Gore
2025-01-03 14:55:20 +05:30
parent 0695893e30
commit f5bae98098
2 changed files with 16 additions and 49 deletions

View File

@@ -521,7 +521,7 @@ You have to call mermaid.initialize.`
* Clears the internal graph db so that a new graph can be parsed.
*
*/
public clear = (ver = 'gen-1') => {
public clear = (ver = 'gen-2') => {
this.vertices = new Map();
this.classes = new Map();
this.edges = [];