How to use InPort or OutPort in GoGeneralNode

Hi,
I’m keen to know how can i identify correct port in GoGeneralNode class.
I need to know what are the choice i have if i want to use member like InPort and OutPort in GoSimpllike class.

But how can i do this in GoGeneralNode

ThaknYou

GoSimpleNode has 2 ports, and the class defines them as InputPort and OutputPort.

GoGeneralNode has a variable number of ports on each side (in and out).

Ports on a GoGeneralNode are accessed through the LeftPorts and RightPorts collections.

Does that help?