Dynamically adding input and output ports

Hello sir,
Please help how to add dynamic output port like that input port.
I want to add dynamic output port along with input port i mean user can enter no of input and no of output and its automatically added to node.
In my code i have done dynamic input port but dynamic ouput ports not done.
So please give me any idea for dynamic output ports.

Try this sample: Inputs and Outputs

The buttons will add or remove a port from the selected nodes.

The complete source code for the sample is in the page itself. Execute your browser’s View Page Source command.

1 Like