How can my custom node have dynamic number of outputs?

Hi @Steve-Mcl

the trick is to add a property to your node's defaults object called outputs.

You can then modify this.outputs as you would any other node property. The editor knows to watch that property and update the node accordingly.

NIck

1 Like