mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
fix git graph not clearing
This commit is contained in:
parent
1bc62cfba4
commit
ec742d3180
@ -302,6 +302,7 @@ export const draw = function(txt, id, ver) {
|
||||
try {
|
||||
const parser = gitGraphParser.parser;
|
||||
parser.yy = db;
|
||||
parser.yy.clear();
|
||||
|
||||
logger.debug('in gitgraph renderer', txt + '\n', 'id:', id, ver);
|
||||
// Parse the graph definition
|
||||
|
Loading…
x
Reference in New Issue
Block a user