@babylonjs/node-editor 6.5.1 → 6.6.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.
@@ -50168,7 +50168,6 @@ class GraphCanvasComponent extends react__WEBPACK_IMPORTED_MODULE_1__.Component
|
|
50168
50168
|
}
|
50169
50169
|
// Graph
|
50170
50170
|
const node = this.appendNode(nodeData);
|
50171
|
-
node.addClassToVisual(nodeData.getClassName());
|
50172
50171
|
// Links
|
50173
50172
|
if (nodeData.inputs.length && recursion) {
|
50174
50173
|
for (const input of nodeData.inputs) {
|
@@ -50268,6 +50267,7 @@ class GraphCanvasComponent extends react__WEBPACK_IMPORTED_MODULE_1__.Component
|
|
50268
50267
|
appendNode(nodeData) {
|
50269
50268
|
const newNode = new _graphNode__WEBPACK_IMPORTED_MODULE_2__.GraphNode(nodeData, this.props.stateManager);
|
50270
50269
|
newNode.appendVisual(this._graphCanvas, this);
|
50270
|
+
newNode.addClassToVisual(nodeData.getClassName());
|
50271
50271
|
this._nodes.push(newNode);
|
50272
50272
|
this._nodeDataContentList.push(nodeData.data);
|
50273
50273
|
return newNode;
|