Chapter 5 Building Dynamic Diagrams


Converting an activity diagram to a decomposed activity

You can convert an activity diagram to a decomposed activity using the Convert Diagram to Activity wizard. The conversion option is only available once objects have been created in the diagram. By converting a diagram to a decomposed activity, you can then use the decomposed activity in another activity diagram.

Steps To convert an activity diagram to a decomposed activity using the Convert Diagram to Activity wizard:

  1. Right-click the diagram node in the Browser and select Convert to Composite Activity from the contextual menu.

    or

    Right-click the diagram background and select Diagram→Convert to Composite Activity from the contextual menu.

    or

    Select Tools→Convert to Composite Activity.
  2. Specify a name and a code in the Convert Diagram to Activity page, and then click Next to open the Selecting Objects to Move page.
  3. Select the activities that you want to move to the new decomposed activity diagram. Activities that you select will be moved in the Browser to under the new decomposed activity. Those that you do not select will remain in their present positions in the Browser and will be represented in the new sub-activity diagram as shortcuts.
  4. Click Finish to exit the wizard. The new decomposed activity and its sub-activity diagram will be created, and any objects selected to be moved will now appear beneath the decomposed object in the Browser

 


Copyright (C) 2006. Sybase Inc. All rights reserved.