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.
-
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 from the contextual menu.
or
Select .
-
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.
-
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.
-
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