# Custom Port Menu ## Description The Custom [Port](Port.md) Menu is available on the [Custom Function Node](Custom-Function-Node.md) and [Sub Graph](Sub-graph.md) output node. This menu allows you to add, remove, rename, reorder, and define the types of your custom input and output ports. ## How to Use Click the gear icon on the top right corner of the node to open the Custom Port Menu on top of the node. To close the menu, click the gear icon again. Using the gear icon to open the menu automatically deselects any current selections, and selects the current node attached to the menu. ![01](images/Custom-Port-Menu-Empty.png) ### Adding and Removing Ports To add ports, click the `+` icon at the bottom right corner of the port list. ![02](images/Custom-Port-Menu-Add.png) To remove ports, select a port using the hamburger icon on the left, and click the `-` icon at the bottom right corner of the port list. ![03](images/Custom-Port-Menu-Remove.png) ### Renaming Ports To rename a port, double-click its text field and enter the new name. Currently, only the following characters are valid for port names: A-Z, a-z, 0-9, _, ( ), and whitespace. If the name contains an invalid character, an error badge appears. ![04](images/Custom-Port-Menu-Rename.png) ### Reordering Ports To reorder ports, click and hold the hamburger icon on the left, and drag the port to your desired place in the list. ### Changing Port Types To change a port type, use the Type drop-down menu on the right. See the [Data Types](Data-Types.md) page for a list of currently valid port types. ![05](images/Custom-Port-Menu-Type.png)