Managing port structures

An unstructured port inherits the structure of a structured port, when a connection is added between them.

You can add additional attributes to a port structure.

After you add a component to the project, the color of the component ports indicates the status of the component:

NoteYou can change the color of the component ports to enhance support for users with color disabilities by selecting the Use enhanced color accessibility option in the File | Preference window. See “Customizing preferences”.


Modifying port structures

StepsModifying port structures

  1. In the Design window, right-click the port, and select Edit Structure.

  2. In the Structure Viewer window, make the required changes, and click Save.

NoteFor port structures that cannot be modified, the Edit Structure option is not available. You can only view the port structure using the View Structure option.

StepsAdding port attributes

  1. In the Design window, right-click the port, and select Edit Structure.

  2. In the Structure Viewer window, select Actions | Add, or right-click the attribute and select Add.

  3. Enter a name for the new attribute. The names for port attributes must start with an alphabet character and can contain only alphanumeric characters. It should not be a reserved JavaScript keyword. See “Variables”.

    Select the Populate Attribute option to add the attribute to multiple port structures. The new attribute is added to all port structures participating in the selected connections and is automatically mapped. Click OK.

StepsDeleting port attributes

  1. In the Design window, right-click the port, and select Edit Structure.

  2. In the Structure Viewer window, select Actions | Remove, or right-click the attribute and select Remove.

StepsModifying port attributes

  1. In the Design window, right-click the port and select Edit Structure.

  2. In the Structure Viewer window, change the attribute settings, and click Save.

StepsCopying port structures from other ports

You can assign a port structure to a port based on any other available port in the current project:

  1. In the Design window, select the port you want to assign a new structure to.

  2. Right-click and select Assign Structure | Copy Structure.

You can copy the port structure from other ports of the same component. You can also copy any other port structure of the current project by selecting Copy Structure. If you select Copy Structure, a window displays an overview graph of the current project. You can select any of the available ports in the project.

StepsSelecting a port that serves as the source for your new port structure

  1. Click the port you want to use as a source. The attribute structure of the selected port is displayed in the lower area of the window.

  2. Click Apply.