mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-17 11:14:12 +01:00
#2050 Adjusted default value for direction in subgraphs
This commit is contained in:
@@ -444,7 +444,7 @@ export const addSubGraph = function(_id, list, _title) {
|
|||||||
const prims = { boolean: {}, number: {}, string: {} };
|
const prims = { boolean: {}, number: {}, string: {} };
|
||||||
const objs = [];
|
const objs = [];
|
||||||
|
|
||||||
let dir = direction.trim();
|
let dir; // = unbdefined; direction.trim();
|
||||||
const nodeList = a.filter(function(item) {
|
const nodeList = a.filter(function(item) {
|
||||||
const type = typeof item;
|
const type = typeof item;
|
||||||
if (item.stmt && item.stmt === 'dir') {
|
if (item.stmt && item.stmt === 'dir') {
|
||||||
|
|||||||
Reference in New Issue
Block a user