Generate Activity Diagram from Use Case Flow of Events
Activity diagrams showing step by step execution of system by activities and actions. Activity diagrams also support decision, iteration and concurrency. Use Case diagrams in UML is for specifying functional requirements and use goal for system. This tutorial teaches how to generate activity diagram from use case flow of events.
- We first define the flow of events of the use case. We can also define the extension flows in the flow of events.

- After you defined the flow of events, you can press the Synchronize to Activity Diagram button, or pressing Ctrl+Alt+S to generate activity diagram from your flow of events.

- Here is the generated activity diagram. You can see that the extension in step of the flow of events being generated as decision point.

- Since the activity is generated directly from the flow of events, the name of the activity could be too long and complex for using in activity diagram. Let's rename the activity with shorter and more meaning names.

- You can trace back the source of the activity through the Transitor resource icon. The steps in the flow of event will be highlighted when you navigate from activity back to flow of events.

Resources
- sales_order_system.vpp
Rate this Article
Click on one of the stars below to rate this article from 1 (lowest) to 5 (highest).
One Moment Please
Thanks for rating this article.
Comments (3)
written by Shyam on April 29, 2010
Very neatly presented. Was helpful for me.
written by Ted Spradley on October 2, 2011
VP UML 5.3 Community Version for Mac does not have 'Synchronize to Activity Diagram' button. 'Ctrl-Alt-S' does nothing.
written by 陳 富華 on October 2, 2011
Hi Ted Spradley,
This functionality is only available on Professional Edition or Enterprise Edition