Merge pull request #1582 from cmmoran/develop

Directive support for many diagrams, config bugfix
This commit is contained in:
Knut Sveidqvist
2020-07-28 13:17:35 +02:00
committed by GitHub
42 changed files with 1625 additions and 903 deletions

View File

@@ -211,11 +211,11 @@ export const draw = function(text, id) {
parser.yy = stateDb;
// Parse the graph definition
try {
parser.parse(text);
} catch (err) {
logger.debug('Parsing failed');
}
// try {
parser.parse(text);
// } catch (err) {
// logger.error('Parsing failed', err);
// }
// Fetch the default direction, use TD if none was found
let dir = stateDb.getDirection();