Spaces:
Running
Running
Update static/canvas.js
Browse files- static/canvas.js +1 -1
static/canvas.js
CHANGED
@@ -241,7 +241,7 @@ function createNode(x, y, label, type, inputs = [], outputs = [], id, source = '
|
|
241 |
});
|
242 |
|
243 |
// Node data
|
244 |
-
|
245 |
id: id,
|
246 |
type: type,
|
247 |
label: label,
|
|
|
241 |
});
|
242 |
|
243 |
// Node data
|
244 |
+
node.data = {
|
245 |
id: id,
|
246 |
type: type,
|
247 |
label: label,
|