mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 07:19:41 +02:00
Fix for subgraphs
This commit is contained in:
4
dist/mermaid.slim.js
vendored
4
dist/mermaid.slim.js
vendored
@@ -26285,6 +26285,9 @@ exports.addSubGraph = function (list, title) {
|
||||
|
||||
return a.filter(function(item) {
|
||||
var type = typeof item;
|
||||
if(item===' '){
|
||||
return false;
|
||||
}
|
||||
if(type in prims)
|
||||
return prims[type].hasOwnProperty(item) ? false : (prims[type][item] = true);
|
||||
else
|
||||
@@ -26295,7 +26298,6 @@ exports.addSubGraph = function (list, title) {
|
||||
var subG = [];
|
||||
|
||||
subG = uniq(subG.concat.apply(subG,list));
|
||||
//console.log(subG);
|
||||
|
||||
subGraphs.push({nodes:subG,title:title});
|
||||
};
|
||||
|
Reference in New Issue
Block a user