We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f49c48 commit c82ae57Copy full SHA for c82ae57
lib/NRNode.js
@@ -48,6 +48,7 @@ class NRNode extends NRObject {
48
49
this.wires = config.wires || [];
50
this.outputCount = this.wires.length;
51
+ this.info = config.info;
52
53
delete config.x;
54
delete config.y;
@@ -58,6 +59,7 @@ class NRNode extends NRObject {
58
59
delete config.inputLabels;
60
delete config.outputLabels;
61
delete config.icon;
62
+ delete config.info;
63
64
this.inboundWires = [];
65
this.outboundWires = [];
@@ -110,6 +112,9 @@ class NRNode extends NRObject {
110
112
if (this.icon) {
111
113
obj.icon = this.icon;
114
}
115
+ if (this.info) {
116
+ obj.info = this.info;
117
+ }
118
return obj;
119
120
0 commit comments