A pin represents a connection point for the input and output values of an action. There is one input pin for each input parameter, and one output pin for each output parameter.
Using MagicDraw, you can create the following types of pins:
You can format the pin symbol properties in the Symbol Properties dialog.
You can specify pin properties in the pin Specification window. In the Specification window, you can find the description of each property, which are located in the description area of the Specification window.
The following steps will show you how to work with pins:
To assign pins for an action on the diagram pane
To assign pins for an action in the action Specification window
To display pins on shapes
In the dialog, select the pins you want to display.
In the Layout options area, specify the pins' layout on the shape:
- Top/Bottom - displays pins on the shape from its top to bottom.
- Left/Right - displays pins on the shape from its left to right.
If you want all Pins to be displayed automatically when creating a new Activity diagram, go to Options > Project on the main menu, and set the Display All Pins in Diagrams option to true.
If you have an element displayed as an image, you can connect a pin to that element with no gaps.
To show the pin’s type, perform one of the following steps
To convert an input pin to an output pin and vice versa
To convert a pin to an object node
To navigate from a pin to the associated parameter