Add a way to click a button from the front panel (in performance mode), to instantiate a subgraph or module.
Example use case:
In a poly-synth, you can click a button to create additional voices, which are instances of a module or subgraph. The instantiate button specifies which input wires are routed to the newly instantiated subgraph/module , and where the subgraph/module’s output wires are routed to.
This can allow the user to choose how many voices their machine can handle at run time.
The relevant front panel UI elements would then get populated automatically to the front panel. To handle this properly, there may need to be a new container widget which can auto-format / layout the newly instantiated controls. The container widget can have rules such as container max-width or max height constraints, and column or row layouts, with a scroll view for the ability to scroll within the container.
I have a much different use case for this using MIDI, but I think this example can explain how it can be used easily.
(A way to delete or remove instances may also be needed)