Closed trsh closed 5 years ago
Same for Outputs. .addOutput('kavabanga3', a).
I think this overall is very trivial. Especially if play/change the IO on run.
Yeah, it's make sense. I'll investigate it
Thanks
https://github.com/retejs/rete/releases/tag/v1.0.0-alpha.7
Example updated: https://codepen.io/Ni55aN/pen/xzgQYq?editors=0010
Also changes affected the task-plugin and module-plugin
module-plugin
compatible with rete v1.0.0-alpha.7
starting with v0.1.3
task-plugin
compatible with rete v1.0.0-alpha.7
starting with v0.1.6
(clap) tnx
For now it's like this:
I suggest something like this
This way you don't care if the order you add inputs changes. In Bonus it will alarm you, if change the inputs and not worker with new stuff at some level.
editor.nodes.find(n => n.id == node.id).controls[0].setValue(sum);
AS for this. Any chance to get controls / real node without this full scan? Or at least do it on core code and push it under
node
? if I have 100 nodes, it would make ~100x100 loop in summ, that seems much :). Have no suggestions right now. The solution should not be over-complicated