@receptron/graphai_vue_cytoscape 0.0.6 → 0.0.7
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/lib/cytoscape.js +10 -8
- package/package.json +1 -1
package/lib/cytoscape.js
CHANGED
|
@@ -158,14 +158,16 @@ var cytoscapeFromGraph = function (graph_data) {
|
|
|
158
158
|
if ("inputs" in node) {
|
|
159
159
|
// computed node
|
|
160
160
|
(0, exports.inputs2dataSources)(node.inputs).forEach(function (input) {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
161
|
+
if (input[0] === ":") {
|
|
162
|
+
var _a = parseInput(input), source = _a.source, label = _a.label;
|
|
163
|
+
tmp.edges.push({
|
|
164
|
+
data: {
|
|
165
|
+
source: source,
|
|
166
|
+
target: nodeId,
|
|
167
|
+
label: label,
|
|
168
|
+
},
|
|
169
|
+
});
|
|
170
|
+
}
|
|
169
171
|
});
|
|
170
172
|
}
|
|
171
173
|
if ("update" in node && node.update) {
|