From 0bbefdc48f3f95165798db757e4e5f0d2024815c Mon Sep 17 00:00:00 2001 From: Knut Sveidqvist Date: Tue, 18 May 2021 21:36:04 +0200 Subject: [PATCH] #2050 Adjusted default value for direction in subgraphs --- src/diagrams/flowchart/flowDb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/diagrams/flowchart/flowDb.js b/src/diagrams/flowchart/flowDb.js index c985aa0a7..e55cdac2b 100644 --- a/src/diagrams/flowchart/flowDb.js +++ b/src/diagrams/flowchart/flowDb.js @@ -444,7 +444,7 @@ export const addSubGraph = function(_id, list, _title) { const prims = { boolean: {}, number: {}, string: {} }; const objs = []; - let dir = direction.trim(); + let dir; // = unbdefined; direction.trim(); const nodeList = a.filter(function(item) { const type = typeof item; if (item.stmt && item.stmt === 'dir') {