UML Modeling Techniques > General flow diagrams - DEPRECATED > Node and link symbols > Linking a general flow diagram symbol to an item it represents
  
Linking a general flow diagram symbol to an item it represents
* 
In Studio 7.0 and earlier versions, General Flow Diagrams were named Activity Diagrams: If you created Activity Diagrams in Studio version 7.0 or earlier and have upgraded, your Activity Diagrams are now called General Flow Diagrams in Modeler.
Studio 7.1 included new Activity Diagrams, which you should use in preference to General Flow Diagrams. General Flow Diagrams are being deprecated and are included in Modeler only for backward compatibility.
Should you need to create General Flow Diagrams, they can now be created only from the Model or a Package. After creating a General Flow Diagram you can drag it to an Activity, Actor, Class, Data Type, Event, Interface, Operation, Subsystem or Use Case.
To link a general flow diagram symbol to an item it represents:
1. Open the Symbol's Property Pages.
* 
If the Symbol is linked to an item, right-click the Symbol, and then click Instance Properties.
2. On the General tab, click Select.
3. Select the required item, and the click OK.
Alternatively:
Drag the item to the General Flow Diagram symbol.
* 
If the Show Name and Show Associated Item Name check boxes are selected for the item's view options, the name of the linked item will be displayed on the diagram.
A General Flow Diagram symbol can be linked to only one item. If a General Flow Diagram symbol is linked to an item and you link it to a new item, the original link is lost.
If you drag an Operation to an Action symbol, Modeler creates pins for the Operation (if it has a return type), its Parameters and its Exceptions. You can use the Populate > Pins command on the context menu to add new features that are added to a linked Operation.
If you drag an Operation to an Action symbol, Modeler creates pins for the Operation (if it has a return type), its Parameters and its Exceptions. You can use the Populate > Pins command on the context menu to add new features that are added to a linked Operation.
If you link a Class to an Action, right-click the Action, point to Populate, and then click Pins; Modeler creates a pin for each of the Class' Ports.
If you drag a Stereotype to a General Flow Diagram symbol, the Stereotype is applied to the symbol.