mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-22 15:39:41 +02:00
#1676 Handling vertices starting with a number
This commit is contained in:
@@ -335,6 +335,7 @@ export const getClasses = function(text) {
|
||||
export const draw = function(text, id) {
|
||||
logger.info('Drawing flowchart');
|
||||
flowDb.clear();
|
||||
flowDb.setGen('gen-2');
|
||||
const parser = flow.parser;
|
||||
parser.yy = flowDb;
|
||||
|
||||
|
Reference in New Issue
Block a user