On this pageHome > @jsplumbtoolkit/browser-ui > Selection > addPortSelection.addPort() methodSignature:addPort(node: string | Node, data: Record<string, any>, doNotFireEvent?: boolean): Port;ParametersParameterTypeDescriptionnodestring | NodedataRecord<string, any>doNotFireEventbooleanReturns:Port