mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-02 20:04:14 +01:00
Set generation to gen-2 in clear
This commit is contained in:
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user