There is a limitation of creating nodes with multiple ports when deriving SimplexNodes like PureFunction and right now can only be achieved by creating a full nodes thus deriving from FlowNode and handling the port registration manually. Here is a node that does what you are after: