In composite structure diagrams, you can add a port to a structured
classifier to specify a distinct interaction point between that classifier
and its environment or between the behavior of the classifier and its internal
parts.
You must have a composite structure diagram open that contains a part.
To create a port in a composite structure diagram:
- In the Palette, click Port.
- In the diagram editor, complete one of the following steps:
- To add a port between a classifier instance and its environment, click
either the external border of the composite structure diagram or in any blank
area inside the structure compartment.
- To add a port between the behavior of the classifier and its internal
parts, click the interior border of a part.
- To specify the type of port, complete one of the following steps:
- To create an unspecified port, click Unspecified.
- To create a port from an existing element, click Select
Existing Element, select an element from the list of available
structured classifiers, and click OK.
- Type a name and press Enter.