diff --git a/src/diagrams/flowchart/flowDb.js b/src/diagrams/flowchart/flowDb.js index 1e1d42c8a..c3ae951d8 100644 --- a/src/diagrams/flowchart/flowDb.js +++ b/src/diagrams/flowchart/flowDb.js @@ -38,7 +38,6 @@ const sanitize = text => { * @param classes */ export const addVertex = function (_id, text, type, style, classes) { - console.log('called with',_id); let txt let id = _id if (typeof id === 'undefined') { diff --git a/src/diagrams/flowchart/parser/flow.jison b/src/diagrams/flowchart/parser/flow.jison index 61ae0ec6a..b0ca5c5ed 100644 --- a/src/diagrams/flowchart/parser/flow.jison +++ b/src/diagrams/flowchart/parser/flow.jison @@ -29,7 +29,7 @@ "BT" return 'DIR'; "TD" return 'DIR'; "BR" return 'DIR'; -[0-9]+ { console.log('got NUM'); return 'NUM';} +[0-9]+ { return 'NUM';} \# return 'BRKT'; ":::" return 'STYLE_SEPARATOR'; ":" return 'COLON'; @@ -280,11 +280,11 @@ separator: NEWLINE | SEMI | EOF ; // ; verticeStatement: verticeStatement link node { yy.addLink($1[0],$3[0],$2); $$ = $3.concat($1) } - |node { console.log('A node', $1);$$ = $1 } + |node { $$ = $1 } ; node: vertex - { console.log('A vertex', $1);$$ = [$1];} + { $$ = [$1];} | vertex STYLE_SEPARATOR idString {$$ = [$1];yy.setClass($1,$3)} ;