@digipair/skill-web-chatbot 0.91.0-0 → 0.91.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SAP-icons.cjs.js +2489 -0
- package/SAP-icons.cjs2.js +2489 -0
- package/SAP-icons.esm.js +2482 -0
- package/SAP-icons.esm2.js +2482 -0
- package/Tableau10-558cc280.cjs.js +9 -0
- package/Tableau10-558cc280.esm.js +7 -0
- package/arc-d1f6357e.cjs.js +88 -0
- package/arc-d1f6357e.esm.js +86 -0
- package/array-2ff2c7a6.cjs.js +7 -0
- package/array-2ff2c7a6.esm.js +5 -0
- package/blockDiagram-5dc23a45.cjs.js +2921 -0
- package/blockDiagram-5dc23a45.esm.js +2919 -0
- package/c4Diagram-1e775db3.cjs.js +4387 -0
- package/c4Diagram-1e775db3.esm.js +4385 -0
- package/channel-ebbc4130.cjs.js +9 -0
- package/channel-ebbc4130.esm.js +7 -0
- package/classDiagram-f52caa06.cjs.js +209 -0
- package/classDiagram-f52caa06.esm.js +207 -0
- package/classDiagram-v2-640c694e.cjs.js +401 -0
- package/classDiagram-v2-640c694e.esm.js +399 -0
- package/clone-afc2f047.cjs.js +10 -0
- package/clone-afc2f047.esm.js +8 -0
- package/createText-03b82060.cjs.js +2936 -0
- package/createText-03b82060.esm.js +2933 -0
- package/edges-16357fde.cjs.js +1998 -0
- package/edges-16357fde.esm.js +1981 -0
- package/erDiagram-c7ff1bec.cjs.js +1807 -0
- package/erDiagram-c7ff1bec.esm.js +1805 -0
- package/flowDb-9a89ea33.cjs.js +5542 -0
- package/flowDb-9a89ea33.esm.js +5538 -0
- package/flowDiagram-aadb13b0.cjs.js +1351 -0
- package/flowDiagram-aadb13b0.esm.js +1349 -0
- package/flowDiagram-v2-f2119625.cjs.js +31 -0
- package/flowDiagram-v2-f2119625.esm.js +29 -0
- package/flowchart-elk-definition-cf813a97.cjs.js +50257 -0
- package/flowchart-elk-definition-cf813a97.esm.js +50255 -0
- package/ganttDiagram-3c2fde2b.cjs.js +3710 -0
- package/ganttDiagram-3c2fde2b.esm.js +3708 -0
- package/gitGraphDiagram-c3a0619c.cjs.js +3820 -0
- package/gitGraphDiagram-c3a0619c.esm.js +3818 -0
- package/graph-0ee63739.cjs.js +961 -0
- package/graph-0ee63739.esm.js +938 -0
- package/index-bb6d8841.cjs.js +648 -0
- package/index-bb6d8841.esm.js +646 -0
- package/index.cjs.d.ts +1 -0
- package/index.cjs.js +17 -0
- package/index.cjs2.js +60723 -0
- package/index.esm.js +1 -0
- package/index.esm2.js +60574 -0
- package/infoDiagram-2f5c50c0.cjs.js +460 -0
- package/infoDiagram-2f5c50c0.esm.js +458 -0
- package/init-f9637058.cjs.js +17 -0
- package/init-f9637058.esm.js +15 -0
- package/journeyDiagram-14fe341a.cjs.js +1061 -0
- package/journeyDiagram-14fe341a.esm.js +1059 -0
- package/katex-d90b6d29.cjs.js +25690 -0
- package/katex-d90b6d29.esm.js +25688 -0
- package/layout-fd473db2.cjs.js +1626 -0
- package/layout-fd473db2.esm.js +1619 -0
- package/libs/engine/src/index.d.ts +2 -0
- package/libs/engine/src/lib/alias.interface.d.ts +9 -0
- package/libs/engine/src/lib/engine.d.ts +13 -0
- package/libs/engine/src/lib/pins-settings.interface.d.ts +15 -0
- package/libs/skill-web-chatbot/src/lib/chat.element.d.ts +28 -0
- package/libs/skill-web-chatbot/src/lib/common.data.d.ts +1 -0
- package/libs/skill-web-chatbot/src/lib/config.d.ts +9 -0
- package/libs/skill-web-chatbot/src/lib/digipair-full.data.d.ts +1 -0
- package/libs/skill-web-chatbot/src/lib/digipair-full.element.d.ts +36 -0
- package/libs/skill-web-chatbot/src/lib/digipair.data.d.ts +1 -0
- package/libs/skill-web-chatbot/src/lib/digipair.element.d.ts +44 -0
- package/libs/skill-web-chatbot/src/lib/inputs.element.d.ts +10 -0
- package/libs/skill-web-chatbot/src/lib/message.interface.d.ts +10 -0
- package/libs/skill-web-chatbot/src/lib/pins/chatbot.actions.d.ts +1 -0
- package/libs/skill-web-chatbot/src/lib/tools/css-selector.d.ts +1 -0
- package/line-24d93f1b.cjs.js +34 -0
- package/line-24d93f1b.esm.js +32 -0
- package/linear-9bcf74c4.cjs.js +537 -0
- package/linear-9bcf74c4.esm.js +531 -0
- package/mindmap-definition-9399c7e6.cjs.js +20489 -0
- package/mindmap-definition-9399c7e6.esm.js +20487 -0
- package/ordinal-5695958c.cjs.js +331 -0
- package/ordinal-5695958c.esm.js +329 -0
- package/package.json +7 -22
- package/path-428ebac9.cjs.js +317 -0
- package/path-428ebac9.esm.js +314 -0
- package/pieDiagram-828dae43.cjs.js +951 -0
- package/pieDiagram-828dae43.esm.js +949 -0
- package/quadrantDiagram-5fa00455.cjs.js +2410 -0
- package/quadrantDiagram-5fa00455.esm.js +2408 -0
- package/requirementDiagram-03163dc4.cjs.js +2267 -0
- package/requirementDiagram-03163dc4.esm.js +2265 -0
- package/sankeyDiagram-52ec8976.cjs.js +1848 -0
- package/sankeyDiagram-52ec8976.esm.js +1846 -0
- package/sequenceDiagram-b517d154.cjs.js +5949 -0
- package/sequenceDiagram-b517d154.esm.js +5947 -0
- package/stateDiagram-fca82b5b.cjs.js +283 -0
- package/stateDiagram-fca82b5b.esm.js +281 -0
- package/stateDiagram-v2-ed04200a.cjs.js +373 -0
- package/stateDiagram-v2-ed04200a.esm.js +371 -0
- package/styles-11e81fdd.cjs.js +3944 -0
- package/styles-11e81fdd.esm.js +3940 -0
- package/styles-cacbff60.cjs.js +2120 -0
- package/styles-cacbff60.esm.js +2111 -0
- package/styles-e75131e4.cjs.js +671 -0
- package/styles-e75131e4.esm.js +661 -0
- package/svgDrawCommon-ecc5f780.cjs.js +68 -0
- package/svgDrawCommon-ecc5f780.esm.js +60 -0
- package/timeline-definition-4ee9bff4.cjs.js +1161 -0
- package/timeline-definition-4ee9bff4.esm.js +1159 -0
- package/xychartDiagram-e5e6b652.cjs.js +3150 -0
- package/xychartDiagram-e5e6b652.esm.js +3148 -0
- package/.swcrc +0 -28
- package/README.md +0 -7
- package/eslint.config.mjs +0 -22
- package/rollup.config.cjs +0 -28
- package/src/digipair__engine.d.ts +0 -2
- package/src/handlebars.d.ts +0 -1
- package/src/index.html +0 -18
- package/src/lib/chat.element.ts +0 -603
- package/src/lib/common.data.ts +0 -1
- package/src/lib/config.ts +0 -30
- package/src/lib/digipair-full.data.ts +0 -101
- package/src/lib/digipair-full.element.ts +0 -358
- package/src/lib/digipair.data.ts +0 -103
- package/src/lib/digipair.element.ts +0 -446
- package/src/lib/inputs.element.ts +0 -46
- package/src/lib/mermaid.d.ts +0 -1
- package/src/lib/message.interface.ts +0 -10
- package/src/lib/pins/chatbot.actions.ts +0 -32
- package/src/lib/tools/css-selector.ts +0 -12
- package/tsconfig.json +0 -13
- package/tsconfig.lib.json +0 -19
- /package/{src/index.d.ts → index.d.ts} +0 -0
- /package/{src/index.ts → libs/skill-web-chatbot/src/index.d.ts} +0 -0
- /package/{src/schema.fr.json → schema.fr.json} +0 -0
- /package/{src/schema.json → schema.json} +0 -0
|
@@ -0,0 +1,648 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var graph0ee63739 = require('./graph-0ee63739.cjs.js');
|
|
4
|
+
var layoutFd473db2 = require('./layout-fd473db2.cjs.js');
|
|
5
|
+
var cloneAfc2f047 = require('./clone-afc2f047.cjs.js');
|
|
6
|
+
var edges16357fde = require('./edges-16357fde.cjs.js');
|
|
7
|
+
var index = require('./index.cjs2.js');
|
|
8
|
+
var createText03b82060 = require('./createText-03b82060.cjs.js');
|
|
9
|
+
|
|
10
|
+
function _array_like_to_array(arr, len) {
|
|
11
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
12
|
+
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
13
|
+
return arr2;
|
|
14
|
+
}
|
|
15
|
+
function _array_without_holes(arr) {
|
|
16
|
+
if (Array.isArray(arr)) return _array_like_to_array(arr);
|
|
17
|
+
}
|
|
18
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
19
|
+
try {
|
|
20
|
+
var info = gen[key](arg);
|
|
21
|
+
var value = info.value;
|
|
22
|
+
} catch (error) {
|
|
23
|
+
reject(error);
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
if (info.done) {
|
|
27
|
+
resolve(value);
|
|
28
|
+
} else {
|
|
29
|
+
Promise.resolve(value).then(_next, _throw);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
function _async_to_generator(fn) {
|
|
33
|
+
return function() {
|
|
34
|
+
var self = this, args = arguments;
|
|
35
|
+
return new Promise(function(resolve, reject) {
|
|
36
|
+
var gen = fn.apply(self, args);
|
|
37
|
+
function _next(value) {
|
|
38
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
39
|
+
}
|
|
40
|
+
function _throw(err) {
|
|
41
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
42
|
+
}
|
|
43
|
+
_next(undefined);
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function _iterable_to_array(iter) {
|
|
48
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
49
|
+
}
|
|
50
|
+
function _non_iterable_spread() {
|
|
51
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
52
|
+
}
|
|
53
|
+
function _to_consumable_array(arr) {
|
|
54
|
+
return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
|
|
55
|
+
}
|
|
56
|
+
function _unsupported_iterable_to_array(o, minLen) {
|
|
57
|
+
if (!o) return;
|
|
58
|
+
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
59
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
60
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
61
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
62
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
63
|
+
}
|
|
64
|
+
function _ts_generator(thisArg, body) {
|
|
65
|
+
var f, y, t, g, _ = {
|
|
66
|
+
label: 0,
|
|
67
|
+
sent: function() {
|
|
68
|
+
if (t[0] & 1) throw t[1];
|
|
69
|
+
return t[1];
|
|
70
|
+
},
|
|
71
|
+
trys: [],
|
|
72
|
+
ops: []
|
|
73
|
+
};
|
|
74
|
+
return g = {
|
|
75
|
+
next: verb(0),
|
|
76
|
+
"throw": verb(1),
|
|
77
|
+
"return": verb(2)
|
|
78
|
+
}, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
79
|
+
return this;
|
|
80
|
+
}), g;
|
|
81
|
+
function verb(n) {
|
|
82
|
+
return function(v) {
|
|
83
|
+
return step([
|
|
84
|
+
n,
|
|
85
|
+
v
|
|
86
|
+
]);
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
function step(op) {
|
|
90
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
91
|
+
while(_)try {
|
|
92
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
93
|
+
if (y = 0, t) op = [
|
|
94
|
+
op[0] & 2,
|
|
95
|
+
t.value
|
|
96
|
+
];
|
|
97
|
+
switch(op[0]){
|
|
98
|
+
case 0:
|
|
99
|
+
case 1:
|
|
100
|
+
t = op;
|
|
101
|
+
break;
|
|
102
|
+
case 4:
|
|
103
|
+
_.label++;
|
|
104
|
+
return {
|
|
105
|
+
value: op[1],
|
|
106
|
+
done: false
|
|
107
|
+
};
|
|
108
|
+
case 5:
|
|
109
|
+
_.label++;
|
|
110
|
+
y = op[1];
|
|
111
|
+
op = [
|
|
112
|
+
0
|
|
113
|
+
];
|
|
114
|
+
continue;
|
|
115
|
+
case 7:
|
|
116
|
+
op = _.ops.pop();
|
|
117
|
+
_.trys.pop();
|
|
118
|
+
continue;
|
|
119
|
+
default:
|
|
120
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
121
|
+
_ = 0;
|
|
122
|
+
continue;
|
|
123
|
+
}
|
|
124
|
+
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
125
|
+
_.label = op[1];
|
|
126
|
+
break;
|
|
127
|
+
}
|
|
128
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
129
|
+
_.label = t[1];
|
|
130
|
+
t = op;
|
|
131
|
+
break;
|
|
132
|
+
}
|
|
133
|
+
if (t && _.label < t[2]) {
|
|
134
|
+
_.label = t[2];
|
|
135
|
+
_.ops.push(op);
|
|
136
|
+
break;
|
|
137
|
+
}
|
|
138
|
+
if (t[2]) _.ops.pop();
|
|
139
|
+
_.trys.pop();
|
|
140
|
+
continue;
|
|
141
|
+
}
|
|
142
|
+
op = body.call(thisArg, _);
|
|
143
|
+
} catch (e) {
|
|
144
|
+
op = [
|
|
145
|
+
6,
|
|
146
|
+
e
|
|
147
|
+
];
|
|
148
|
+
y = 0;
|
|
149
|
+
} finally{
|
|
150
|
+
f = t = 0;
|
|
151
|
+
}
|
|
152
|
+
if (op[0] & 5) throw op[1];
|
|
153
|
+
return {
|
|
154
|
+
value: op[0] ? op[1] : void 0,
|
|
155
|
+
done: true
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
function m(e) {
|
|
160
|
+
var t = {
|
|
161
|
+
options: {
|
|
162
|
+
directed: e.isDirected(),
|
|
163
|
+
multigraph: e.isMultigraph(),
|
|
164
|
+
compound: e.isCompound()
|
|
165
|
+
},
|
|
166
|
+
nodes: tt(e),
|
|
167
|
+
edges: et(e)
|
|
168
|
+
};
|
|
169
|
+
return graph0ee63739.v(e.graph()) || (t.value = cloneAfc2f047.a(e.graph())), t;
|
|
170
|
+
}
|
|
171
|
+
function tt(e) {
|
|
172
|
+
return layoutFd473db2.m(e.nodes(), function(t) {
|
|
173
|
+
var n = e.node(t), r = e.parent(t), i = {
|
|
174
|
+
v: t
|
|
175
|
+
};
|
|
176
|
+
return graph0ee63739.v(n) || (i.value = n), graph0ee63739.v(r) || (i.parent = r), i;
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
function et(e) {
|
|
180
|
+
return layoutFd473db2.m(e.edges(), function(t) {
|
|
181
|
+
var n = e.edge(t), r = {
|
|
182
|
+
v: t.v,
|
|
183
|
+
w: t.w
|
|
184
|
+
};
|
|
185
|
+
return graph0ee63739.v(t.name) || (r.name = t.name), graph0ee63739.v(n) || (r.value = n), r;
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
var l = {}, g = {}, P = {};
|
|
189
|
+
var nt = function() {
|
|
190
|
+
g = {}, P = {}, l = {};
|
|
191
|
+
}, B = function(e, t) {
|
|
192
|
+
return index.L.trace("In isDescendant", t, " ", e, " = ", g[t].includes(e)), !!g[t].includes(e);
|
|
193
|
+
}, it = function(e, t) {
|
|
194
|
+
return index.L.info("Descendants of ", t, " is ", g[t]), index.L.info("Edge is ", e), e.v === t || e.w === t ? !1 : g[t] ? g[t].includes(e.v) || B(e.v, t) || B(e.w, t) || g[t].includes(e.w) : (index.L.debug("Tilt, ", t, ",not in descendants"), !1);
|
|
195
|
+
}, k = function(e, t, n, r) {
|
|
196
|
+
index.L.warn("Copying children of ", e, "root", r, "data", t.node(e), r);
|
|
197
|
+
var i = t.children(e) || [];
|
|
198
|
+
e !== r && i.push(e), index.L.warn("Copying (nodes) clusterId", e, "nodes", i), i.forEach(function(a) {
|
|
199
|
+
if (t.children(a).length > 0) k(a, t, n, r);
|
|
200
|
+
else {
|
|
201
|
+
var d = t.node(a);
|
|
202
|
+
index.L.info("cp ", a, " to ", r, " with parent ", e), n.setNode(a, d), r !== t.parent(a) && (index.L.warn("Setting parent", a, t.parent(a)), n.setParent(a, t.parent(a))), e !== r && a !== e ? (index.L.debug("Setting parent", a, e), n.setParent(a, e)) : (index.L.info("In copy ", e, "root", r, "data", t.node(e), r), index.L.debug("Not Setting parent for node=", a, "cluster!==rootId", e !== r, "node!==clusterId", a !== e));
|
|
203
|
+
var u = t.edges(a);
|
|
204
|
+
index.L.debug("Copying Edges", u), u.forEach(function(f) {
|
|
205
|
+
index.L.info("Edge", f);
|
|
206
|
+
var h = t.edge(f.v, f.w, f.name);
|
|
207
|
+
index.L.info("Edge data", h, r);
|
|
208
|
+
try {
|
|
209
|
+
it(f, r) ? (index.L.info("Copying as ", f.v, f.w, h, f.name), n.setEdge(f.v, f.w, h, f.name), index.L.info("newGraph edges ", n.edges(), n.edge(n.edges()[0]))) : index.L.info("Skipping copy of edge ", f.v, "-->", f.w, " rootId: ", r, " clusterId:", e);
|
|
210
|
+
} catch (w) {
|
|
211
|
+
index.L.error(w);
|
|
212
|
+
}
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
index.L.debug("Removing node", a), t.removeNode(a);
|
|
216
|
+
});
|
|
217
|
+
}, $ = function(e, t) {
|
|
218
|
+
var n = t.children(e);
|
|
219
|
+
var r = _to_consumable_array(n);
|
|
220
|
+
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
221
|
+
try {
|
|
222
|
+
for(var _iterator = n[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
223
|
+
var i = _step.value;
|
|
224
|
+
P[i] = e, r = _to_consumable_array(r).concat(_to_consumable_array($(i, t)));
|
|
225
|
+
}
|
|
226
|
+
} catch (err) {
|
|
227
|
+
_didIteratorError = true;
|
|
228
|
+
_iteratorError = err;
|
|
229
|
+
} finally{
|
|
230
|
+
try {
|
|
231
|
+
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
|
232
|
+
_iterator.return();
|
|
233
|
+
}
|
|
234
|
+
} finally{
|
|
235
|
+
if (_didIteratorError) {
|
|
236
|
+
throw _iteratorError;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
return r;
|
|
241
|
+
}, C = function(e, t) {
|
|
242
|
+
index.L.trace("Searching", e);
|
|
243
|
+
var n = t.children(e);
|
|
244
|
+
if (index.L.trace("Searching children of id ", e, n), n.length < 1) return index.L.trace("This is a valid node", e), e;
|
|
245
|
+
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
246
|
+
try {
|
|
247
|
+
for(var _iterator = n[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
248
|
+
var r = _step.value;
|
|
249
|
+
var i = C(r, t);
|
|
250
|
+
if (i) return index.L.trace("Found replacement for", e, " => ", i), i;
|
|
251
|
+
}
|
|
252
|
+
} catch (err) {
|
|
253
|
+
_didIteratorError = true;
|
|
254
|
+
_iteratorError = err;
|
|
255
|
+
} finally{
|
|
256
|
+
try {
|
|
257
|
+
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
|
258
|
+
_iterator.return();
|
|
259
|
+
}
|
|
260
|
+
} finally{
|
|
261
|
+
if (_didIteratorError) {
|
|
262
|
+
throw _iteratorError;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
}, X = function(e) {
|
|
267
|
+
return !l[e] || !l[e].externalConnections ? e : l[e] ? l[e].id : e;
|
|
268
|
+
}, st = function(e, t) {
|
|
269
|
+
if (!e || t > 10) {
|
|
270
|
+
index.L.debug("Opting out, no graph ");
|
|
271
|
+
return;
|
|
272
|
+
} else index.L.debug("Opting in, graph ");
|
|
273
|
+
e.nodes().forEach(function(n) {
|
|
274
|
+
e.children(n).length > 0 && (index.L.warn("Cluster identified", n, " Replacement id in edges: ", C(n, e)), g[n] = $(n, e), l[n] = {
|
|
275
|
+
id: C(n, e),
|
|
276
|
+
clusterData: e.node(n)
|
|
277
|
+
});
|
|
278
|
+
}), e.nodes().forEach(function(n) {
|
|
279
|
+
var r = e.children(n), i = e.edges();
|
|
280
|
+
r.length > 0 ? (index.L.debug("Cluster identified", n, g), i.forEach(function(a) {
|
|
281
|
+
if (a.v !== n && a.w !== n) {
|
|
282
|
+
var d = B(a.v, n), u = B(a.w, n);
|
|
283
|
+
d ^ u && (index.L.warn("Edge: ", a, " leaves cluster ", n), index.L.warn("Descendants of XXX ", n, ": ", g[n]), l[n].externalConnections = !0);
|
|
284
|
+
}
|
|
285
|
+
})) : index.L.debug("Not a cluster ", n, g);
|
|
286
|
+
});
|
|
287
|
+
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
288
|
+
try {
|
|
289
|
+
for(var _iterator = Object.keys(l)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
290
|
+
var n = _step.value;
|
|
291
|
+
var r = l[n].id, i = e.parent(r);
|
|
292
|
+
i !== n && l[i] && !l[i].externalConnections && (l[n].id = i);
|
|
293
|
+
}
|
|
294
|
+
} catch (err) {
|
|
295
|
+
_didIteratorError = true;
|
|
296
|
+
_iteratorError = err;
|
|
297
|
+
} finally{
|
|
298
|
+
try {
|
|
299
|
+
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
|
300
|
+
_iterator.return();
|
|
301
|
+
}
|
|
302
|
+
} finally{
|
|
303
|
+
if (_didIteratorError) {
|
|
304
|
+
throw _iteratorError;
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
e.edges().forEach(function(n) {
|
|
309
|
+
var r = e.edge(n);
|
|
310
|
+
index.L.warn("Edge " + n.v + " -> " + n.w + ": " + JSON.stringify(n)), index.L.warn("Edge " + n.v + " -> " + n.w + ": " + JSON.stringify(e.edge(n)));
|
|
311
|
+
var i = n.v, a = n.w;
|
|
312
|
+
if (index.L.warn("Fix XXX", l, "ids:", n.v, n.w, "Translating: ", l[n.v], " --- ", l[n.w]), l[n.v] && l[n.w] && l[n.v] === l[n.w]) {
|
|
313
|
+
index.L.warn("Fixing and trixing link to self - removing XXX", n.v, n.w, n.name), index.L.warn("Fixing and trixing - removing XXX", n.v, n.w, n.name), i = X(n.v), a = X(n.w), e.removeEdge(n.v, n.w, n.name);
|
|
314
|
+
var d = n.w + "---" + n.v;
|
|
315
|
+
e.setNode(d, {
|
|
316
|
+
domId: d,
|
|
317
|
+
id: d,
|
|
318
|
+
labelStyle: "",
|
|
319
|
+
labelText: r.label,
|
|
320
|
+
padding: 0,
|
|
321
|
+
shape: "labelRect",
|
|
322
|
+
style: ""
|
|
323
|
+
});
|
|
324
|
+
var u = structuredClone(r), f = structuredClone(r);
|
|
325
|
+
u.label = "", u.arrowTypeEnd = "none", f.label = "", u.fromCluster = n.v, f.toCluster = n.v, e.setEdge(i, d, u, n.name + "-cyclic-special"), e.setEdge(d, a, f, n.name + "-cyclic-special");
|
|
326
|
+
} else if (l[n.v] || l[n.w]) {
|
|
327
|
+
if (index.L.warn("Fixing and trixing - removing XXX", n.v, n.w, n.name), i = X(n.v), a = X(n.w), e.removeEdge(n.v, n.w, n.name), i !== n.v) {
|
|
328
|
+
var d1 = e.parent(i);
|
|
329
|
+
l[d1].externalConnections = !0, r.fromCluster = n.v;
|
|
330
|
+
}
|
|
331
|
+
if (a !== n.w) {
|
|
332
|
+
var d2 = e.parent(a);
|
|
333
|
+
l[d2].externalConnections = !0, r.toCluster = n.w;
|
|
334
|
+
}
|
|
335
|
+
index.L.warn("Fix Replacing with XXX", i, a, n.name), e.setEdge(i, a, r, n.name);
|
|
336
|
+
}
|
|
337
|
+
}), index.L.warn("Adjusted Graph", m(e)), F(e, 0), index.L.trace(l);
|
|
338
|
+
}, F = function(e, t) {
|
|
339
|
+
if (index.L.warn("extractor - ", t, m(e), e.children("D")), t > 10) {
|
|
340
|
+
index.L.error("Bailing out");
|
|
341
|
+
return;
|
|
342
|
+
}
|
|
343
|
+
var n = e.nodes(), r = !1;
|
|
344
|
+
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
345
|
+
try {
|
|
346
|
+
for(var _iterator = n[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
347
|
+
var i = _step.value;
|
|
348
|
+
var a = e.children(i);
|
|
349
|
+
r = r || a.length > 0;
|
|
350
|
+
}
|
|
351
|
+
} catch (err) {
|
|
352
|
+
_didIteratorError = true;
|
|
353
|
+
_iteratorError = err;
|
|
354
|
+
} finally{
|
|
355
|
+
try {
|
|
356
|
+
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
|
357
|
+
_iterator.return();
|
|
358
|
+
}
|
|
359
|
+
} finally{
|
|
360
|
+
if (_didIteratorError) {
|
|
361
|
+
throw _iteratorError;
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
if (!r) {
|
|
366
|
+
index.L.debug("Done, no node has children", e.nodes());
|
|
367
|
+
return;
|
|
368
|
+
}
|
|
369
|
+
index.L.debug("Nodes = ", n, t);
|
|
370
|
+
var _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = undefined;
|
|
371
|
+
try {
|
|
372
|
+
for(var _iterator1 = n[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true){
|
|
373
|
+
var i1 = _step1.value;
|
|
374
|
+
if (index.L.debug("Extracting node", i1, l, l[i1] && !l[i1].externalConnections, !e.parent(i1), e.node(i1), e.children("D"), " Depth ", t), !l[i1]) index.L.debug("Not a cluster", i1, t);
|
|
375
|
+
else if (!l[i1].externalConnections && // !graph.parent(node) &&
|
|
376
|
+
e.children(i1) && e.children(i1).length > 0) {
|
|
377
|
+
index.L.warn("Cluster without external connections, without a parent and with children", i1, t);
|
|
378
|
+
var d = e.graph().rankdir === "TB" ? "LR" : "TB";
|
|
379
|
+
l[i1] && l[i1].clusterData && l[i1].clusterData.dir && (d = l[i1].clusterData.dir, index.L.warn("Fixing dir", l[i1].clusterData.dir, d));
|
|
380
|
+
var u = new graph0ee63739.Ze({
|
|
381
|
+
multigraph: !0,
|
|
382
|
+
compound: !0
|
|
383
|
+
}).setGraph({
|
|
384
|
+
rankdir: d,
|
|
385
|
+
// Todo: set proper spacing
|
|
386
|
+
nodesep: 50,
|
|
387
|
+
ranksep: 50,
|
|
388
|
+
marginx: 8,
|
|
389
|
+
marginy: 8
|
|
390
|
+
}).setDefaultEdgeLabel(function() {
|
|
391
|
+
return {};
|
|
392
|
+
});
|
|
393
|
+
index.L.warn("Old graph before copy", m(e)), k(i1, e, u, i1), e.setNode(i1, {
|
|
394
|
+
clusterNode: !0,
|
|
395
|
+
id: i1,
|
|
396
|
+
clusterData: l[i1].clusterData,
|
|
397
|
+
labelText: l[i1].labelText,
|
|
398
|
+
graph: u
|
|
399
|
+
}), index.L.warn("New graph after copy node: (", i1, ")", m(u)), index.L.debug("Old graph after copy", m(e));
|
|
400
|
+
} else index.L.warn("Cluster ** ", i1, " **not meeting the criteria !externalConnections:", !l[i1].externalConnections, " no parent: ", !e.parent(i1), " children ", e.children(i1) && e.children(i1).length > 0, e.children("D"), t), index.L.debug(l);
|
|
401
|
+
}
|
|
402
|
+
} catch (err) {
|
|
403
|
+
_didIteratorError1 = true;
|
|
404
|
+
_iteratorError1 = err;
|
|
405
|
+
} finally{
|
|
406
|
+
try {
|
|
407
|
+
if (!_iteratorNormalCompletion1 && _iterator1.return != null) {
|
|
408
|
+
_iterator1.return();
|
|
409
|
+
}
|
|
410
|
+
} finally{
|
|
411
|
+
if (_didIteratorError1) {
|
|
412
|
+
throw _iteratorError1;
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
n = e.nodes(), index.L.warn("New list of nodes", n);
|
|
417
|
+
var _iteratorNormalCompletion2 = true, _didIteratorError2 = false, _iteratorError2 = undefined;
|
|
418
|
+
try {
|
|
419
|
+
for(var _iterator2 = n[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true){
|
|
420
|
+
var i2 = _step2.value;
|
|
421
|
+
var a1 = e.node(i2);
|
|
422
|
+
index.L.warn(" Now next level", i2, a1), a1.clusterNode && F(a1.graph, t + 1);
|
|
423
|
+
}
|
|
424
|
+
} catch (err) {
|
|
425
|
+
_didIteratorError2 = true;
|
|
426
|
+
_iteratorError2 = err;
|
|
427
|
+
} finally{
|
|
428
|
+
try {
|
|
429
|
+
if (!_iteratorNormalCompletion2 && _iterator2.return != null) {
|
|
430
|
+
_iterator2.return();
|
|
431
|
+
}
|
|
432
|
+
} finally{
|
|
433
|
+
if (_didIteratorError2) {
|
|
434
|
+
throw _iteratorError2;
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
}, G = function(e, t) {
|
|
439
|
+
if (t.length === 0) return [];
|
|
440
|
+
var n = Object.assign(t);
|
|
441
|
+
return t.forEach(function(r) {
|
|
442
|
+
var i = e.children(r), a = G(e, i);
|
|
443
|
+
n = _to_consumable_array(n).concat(_to_consumable_array(a));
|
|
444
|
+
}), n;
|
|
445
|
+
}, rt = function(e) {
|
|
446
|
+
return G(e, e.children());
|
|
447
|
+
}, at = function(e, t) {
|
|
448
|
+
index.L.info("Creating subgraph rect for ", t.id, t);
|
|
449
|
+
var n = index.Vn(), r = e.insert("g").attr("class", "cluster" + (t.class ? " " + t.class : "")).attr("id", t.id), i = r.insert("rect", ":first-child"), a = index.La(n.flowchart.htmlLabels), d = r.insert("g").attr("class", "cluster-label"), u = t.labelType === "markdown" ? createText03b82060.Ur(d, t.labelText, {
|
|
450
|
+
style: t.labelStyle,
|
|
451
|
+
useHtmlLabels: a
|
|
452
|
+
}) : d.node().appendChild(edges16357fde.R(t.labelText, t.labelStyle, void 0, !0));
|
|
453
|
+
var f = u.getBBox();
|
|
454
|
+
if (index.La(n.flowchart.htmlLabels)) {
|
|
455
|
+
var c = u.children[0], o = index.bt(u);
|
|
456
|
+
f = c.getBoundingClientRect(), o.attr("width", f.width), o.attr("height", f.height);
|
|
457
|
+
}
|
|
458
|
+
var h = 0 * t.padding, w = h / 2, x = t.width <= f.width + h ? f.width + h : t.width;
|
|
459
|
+
t.width <= f.width + h ? t.diff = (f.width - t.width) / 2 - t.padding / 2 : t.diff = -t.padding / 2, index.L.trace("Data ", t, JSON.stringify(t)), i.attr("style", t.style).attr("rx", t.rx).attr("ry", t.ry).attr("x", t.x - x / 2).attr("y", t.y - t.height / 2 - w).attr("width", x).attr("height", t.height + h);
|
|
460
|
+
var _D = edges16357fde.tr(n), v = _D.subGraphTitleTopMargin;
|
|
461
|
+
a ? d.attr("transform", // This puts the label on top of the box instead of inside it
|
|
462
|
+
"translate(".concat(t.x - f.width / 2, ", ").concat(t.y - t.height / 2 + v, ")")) : d.attr("transform", // This puts the label on top of the box instead of inside it
|
|
463
|
+
"translate(".concat(t.x, ", ").concat(t.y - t.height / 2 + v, ")"));
|
|
464
|
+
var y = i.node().getBBox();
|
|
465
|
+
return t.width = y.width, t.height = y.height, t.intersect = function at(c) {
|
|
466
|
+
return edges16357fde.Bt(t, c);
|
|
467
|
+
}, r;
|
|
468
|
+
}, ct = function(e, t) {
|
|
469
|
+
var n = e.insert("g").attr("class", "note-cluster").attr("id", t.id), r = n.insert("rect", ":first-child"), i = 0 * t.padding, a = i / 2;
|
|
470
|
+
r.attr("rx", t.rx).attr("ry", t.ry).attr("x", t.x - t.width / 2 - a).attr("y", t.y - t.height / 2 - a).attr("width", t.width + i).attr("height", t.height + i).attr("fill", "none");
|
|
471
|
+
var d = r.node().getBBox();
|
|
472
|
+
return t.width = d.width, t.height = d.height, t.intersect = function ct(u) {
|
|
473
|
+
return edges16357fde.Bt(t, u);
|
|
474
|
+
}, n;
|
|
475
|
+
}, ot = function(e, t) {
|
|
476
|
+
var n = index.Vn(), r = e.insert("g").attr("class", t.classes).attr("id", t.id), i = r.insert("rect", ":first-child"), a = r.insert("g").attr("class", "cluster-label"), d = r.append("rect"), u = a.node().appendChild(edges16357fde.R(t.labelText, t.labelStyle, void 0, !0));
|
|
477
|
+
var f = u.getBBox();
|
|
478
|
+
if (index.La(n.flowchart.htmlLabels)) {
|
|
479
|
+
var c = u.children[0], o = index.bt(u);
|
|
480
|
+
f = c.getBoundingClientRect(), o.attr("width", f.width), o.attr("height", f.height);
|
|
481
|
+
}
|
|
482
|
+
f = u.getBBox();
|
|
483
|
+
var h = 0 * t.padding, w = h / 2, x = t.width <= f.width + t.padding ? f.width + t.padding : t.width;
|
|
484
|
+
t.width <= f.width + t.padding ? t.diff = (f.width + t.padding * 0 - t.width) / 2 : t.diff = -t.padding / 2, i.attr("class", "outer").attr("x", t.x - x / 2 - w).attr("y", t.y - t.height / 2 - w).attr("width", x + h).attr("height", t.height + h), d.attr("class", "inner").attr("x", t.x - x / 2 - w).attr("y", t.y - t.height / 2 - w + f.height - 1).attr("width", x + h).attr("height", t.height + h - f.height - 3);
|
|
485
|
+
var _D = edges16357fde.tr(n), v = _D.subGraphTitleTopMargin;
|
|
486
|
+
a.attr("transform", "translate(".concat(t.x - f.width / 2, ", ").concat(t.y - t.height / 2 - t.padding / 3 + (index.La(n.flowchart.htmlLabels) ? 5 : 3) + v, ")"));
|
|
487
|
+
var y = i.node().getBBox();
|
|
488
|
+
return t.height = y.height, t.intersect = function ot(c) {
|
|
489
|
+
return edges16357fde.Bt(t, c);
|
|
490
|
+
}, r;
|
|
491
|
+
}, lt = function(e, t) {
|
|
492
|
+
var n = e.insert("g").attr("class", t.classes).attr("id", t.id), r = n.insert("rect", ":first-child"), i = 0 * t.padding, a = i / 2;
|
|
493
|
+
r.attr("class", "divider").attr("x", t.x - t.width / 2 - a).attr("y", t.y - t.height / 2).attr("width", t.width + i).attr("height", t.height + i);
|
|
494
|
+
var d = r.node().getBBox();
|
|
495
|
+
return t.width = d.width, t.height = d.height, t.diff = -t.padding / 2, t.intersect = function lt(u) {
|
|
496
|
+
return edges16357fde.Bt(t, u);
|
|
497
|
+
}, n;
|
|
498
|
+
}, ft = {
|
|
499
|
+
rect: at,
|
|
500
|
+
roundedWithTitle: ot,
|
|
501
|
+
noteGroup: ct,
|
|
502
|
+
divider: lt
|
|
503
|
+
};
|
|
504
|
+
var j = {};
|
|
505
|
+
var dt = function(e, t) {
|
|
506
|
+
index.L.trace("Inserting cluster");
|
|
507
|
+
var n = t.shape || "rect";
|
|
508
|
+
j[t.id] = ft[n](e, t);
|
|
509
|
+
}, ut = function() {
|
|
510
|
+
j = {};
|
|
511
|
+
}, M = function() {
|
|
512
|
+
var _ref = _async_to_generator(function(e, t, n, r, i, a) {
|
|
513
|
+
var d, u, f, h, w, x, v, _D, y;
|
|
514
|
+
return _ts_generator(this, function(_state) {
|
|
515
|
+
switch(_state.label){
|
|
516
|
+
case 0:
|
|
517
|
+
index.L.info("Graph in recursive render: XXX", m(t), i);
|
|
518
|
+
d = t.graph().rankdir;
|
|
519
|
+
index.L.trace("Dir in recursive render - dir:", d);
|
|
520
|
+
u = e.insert("g").attr("class", "root");
|
|
521
|
+
t.nodes() ? index.L.info("Recursive render XXX", t.nodes()) : index.L.info("No nodes found for", t), t.edges().length > 0 && index.L.trace("Recursive edges", t.edge(t.edges()[0]));
|
|
522
|
+
f = u.insert("g").attr("class", "clusters"), h = u.insert("g").attr("class", "edgePaths"), w = u.insert("g").attr("class", "edgeLabels"), x = u.insert("g").attr("class", "nodes");
|
|
523
|
+
return [
|
|
524
|
+
4,
|
|
525
|
+
Promise.all(t.nodes().map(function() {
|
|
526
|
+
var _ref = _async_to_generator(function(c) {
|
|
527
|
+
var o, b, b1, E;
|
|
528
|
+
return _ts_generator(this, function(_state) {
|
|
529
|
+
switch(_state.label){
|
|
530
|
+
case 0:
|
|
531
|
+
o = t.node(c);
|
|
532
|
+
if (i !== void 0) {
|
|
533
|
+
b = JSON.parse(JSON.stringify(i.clusterData));
|
|
534
|
+
index.L.info("Setting data for cluster XXX (", c, ") ", b, i), t.setNode(i.id, b), t.parent(c) || (index.L.trace("Setting parent", c, i.id), t.setParent(c, i.id, b));
|
|
535
|
+
}
|
|
536
|
+
if (!(index.L.info("(Insert) Node XXX" + c + ": " + JSON.stringify(t.node(c))), o && o.clusterNode)) return [
|
|
537
|
+
3,
|
|
538
|
+
2
|
|
539
|
+
];
|
|
540
|
+
index.L.info("Cluster identified", c, o.width, t.node(c));
|
|
541
|
+
return [
|
|
542
|
+
4,
|
|
543
|
+
M(x, o.graph, n, r, t.node(c), a)
|
|
544
|
+
];
|
|
545
|
+
case 1:
|
|
546
|
+
b1 = _state.sent(), E = b1.elem;
|
|
547
|
+
edges16357fde.m(o, E), o.diff = b1.diff || 0, index.L.info("Node bounds (abc123)", c, o, o.width, o.x, o.y), edges16357fde.yr(E, o), index.L.warn("Recursive render complete ", E, o);
|
|
548
|
+
return [
|
|
549
|
+
3,
|
|
550
|
+
6
|
|
551
|
+
];
|
|
552
|
+
case 2:
|
|
553
|
+
if (!(t.children(c).length > 0)) return [
|
|
554
|
+
3,
|
|
555
|
+
3
|
|
556
|
+
];
|
|
557
|
+
(index.L.info("Cluster - the non recursive path XXX", c, o.id, o, t), index.L.info(C(o.id, t)), l[o.id] = {
|
|
558
|
+
id: C(o.id, t),
|
|
559
|
+
node: o
|
|
560
|
+
});
|
|
561
|
+
return [
|
|
562
|
+
3,
|
|
563
|
+
5
|
|
564
|
+
];
|
|
565
|
+
case 3:
|
|
566
|
+
index.L.info("Node - the non recursive path", c, o.id, o);
|
|
567
|
+
return [
|
|
568
|
+
4,
|
|
569
|
+
edges16357fde.or(x, t.node(c), d)
|
|
570
|
+
];
|
|
571
|
+
case 4:
|
|
572
|
+
_state.sent();
|
|
573
|
+
_state.label = 5;
|
|
574
|
+
case 5:
|
|
575
|
+
_state.label = 6;
|
|
576
|
+
case 6:
|
|
577
|
+
return [
|
|
578
|
+
2
|
|
579
|
+
];
|
|
580
|
+
}
|
|
581
|
+
});
|
|
582
|
+
});
|
|
583
|
+
return function(c) {
|
|
584
|
+
return _ref.apply(this, arguments);
|
|
585
|
+
};
|
|
586
|
+
}()))
|
|
587
|
+
];
|
|
588
|
+
case 1:
|
|
589
|
+
_state.sent(), t.edges().forEach(function(c) {
|
|
590
|
+
var o = t.edge(c.v, c.w, c.name);
|
|
591
|
+
index.L.info("Edge " + c.v + " -> " + c.w + ": " + JSON.stringify(c)), index.L.info("Edge " + c.v + " -> " + c.w + ": ", c, " ", JSON.stringify(t.edge(c))), index.L.info("Fix", l, "ids:", c.v, c.w, "Translating: ", l[c.v], l[c.w]), edges16357fde.xr(w, o);
|
|
592
|
+
}), t.edges().forEach(function(c) {
|
|
593
|
+
index.L.info("Edge " + c.v + " -> " + c.w + ": " + JSON.stringify(c));
|
|
594
|
+
}), index.L.info("#############################################"), index.L.info("### Layout ###"), index.L.info("#############################################"), index.L.info(t), layoutFd473db2.Yt(t), index.L.info("Graph after layout:", m(t));
|
|
595
|
+
v = 0;
|
|
596
|
+
_D = edges16357fde.tr(a), y = _D.subGraphTitleTotalMargin;
|
|
597
|
+
return [
|
|
598
|
+
2,
|
|
599
|
+
(rt(t).forEach(function(c) {
|
|
600
|
+
var o = t.node(c);
|
|
601
|
+
index.L.info("Position " + c + ": " + JSON.stringify(t.node(c))), index.L.info("Position " + c + ": (" + o.x, "," + o.y, ") width: ", o.width, " height: ", o.height), o && o.clusterNode ? (o.y += y, edges16357fde.pr(o)) : t.children(c).length > 0 ? (o.height += y, dt(f, o), l[o.id].node = o) : (o.y += y / 2, edges16357fde.pr(o));
|
|
602
|
+
}), t.edges().forEach(function(c) {
|
|
603
|
+
var o = t.edge(c);
|
|
604
|
+
index.L.info("Edge " + c.v + " -> " + c.w + ": " + JSON.stringify(o), o), o.points.forEach(function(E) {
|
|
605
|
+
return E.y += y / 2;
|
|
606
|
+
});
|
|
607
|
+
var b = edges16357fde.ur(h, c, o, l, n, t, r);
|
|
608
|
+
edges16357fde.gr(o, b);
|
|
609
|
+
}), t.nodes().forEach(function(c) {
|
|
610
|
+
var o = t.node(c);
|
|
611
|
+
index.L.info(c, o.type, o.diff), o.type === "group" && (v = o.diff);
|
|
612
|
+
}), {
|
|
613
|
+
elem: u,
|
|
614
|
+
diff: v
|
|
615
|
+
})
|
|
616
|
+
];
|
|
617
|
+
}
|
|
618
|
+
});
|
|
619
|
+
});
|
|
620
|
+
return function M(e, t, n, r, i, a) {
|
|
621
|
+
return _ref.apply(this, arguments);
|
|
622
|
+
};
|
|
623
|
+
}(), bt = function() {
|
|
624
|
+
var _ref = _async_to_generator(function(e, t, n, r, i) {
|
|
625
|
+
var a;
|
|
626
|
+
return _ts_generator(this, function(_state) {
|
|
627
|
+
switch(_state.label){
|
|
628
|
+
case 0:
|
|
629
|
+
edges16357fde.hr(e, n, r, i), edges16357fde.fr(), edges16357fde.dr(), ut(), nt(), index.L.warn("Graph at first:", JSON.stringify(m(t))), st(t), index.L.warn("Graph after:", JSON.stringify(m(t)));
|
|
630
|
+
a = index.Vn();
|
|
631
|
+
return [
|
|
632
|
+
4,
|
|
633
|
+
M(e, t, r, i, void 0, a)
|
|
634
|
+
];
|
|
635
|
+
case 1:
|
|
636
|
+
_state.sent();
|
|
637
|
+
return [
|
|
638
|
+
2
|
|
639
|
+
];
|
|
640
|
+
}
|
|
641
|
+
});
|
|
642
|
+
});
|
|
643
|
+
return function bt(e, t, n, r, i) {
|
|
644
|
+
return _ref.apply(this, arguments);
|
|
645
|
+
};
|
|
646
|
+
}();
|
|
647
|
+
|
|
648
|
+
exports.bt = bt;
|