Published online by Cambridge University Press: 17 December 2010
UML activity diagrams are the object-oriented equivalent of flow charts and data-flow diagrams from structured development (Gane and Sarson 1979). In UML 1.x, UML activity diagrams were a specialization of UML state machine diagrams, although in UML 2.x they are full-fledged artifacts. UML activity diagrams are used to explore the logic of
■ a complex operation,
■ a complex business rule,
■ a single use case,
■ several use cases,
■ a business process,
■ concurrent processes,
■ software processes.
General Guidelines
Place the Starting Point in the Top Left Corner
A starting point is modeled with a filled circle, using the same notation that UML state chart diagrams use. Every UML activity diagram should have a starting point, and placing it at the top left corner reflects the way that people in Western cultures begin reading. Figure 41, depicting the business process of enrolling in a university, takes this approach. Another good option is to place it at the top center of the diagram.
Include an Ending Point
An ending point is modeled with a filled circle with a border around it. Some people's style is to make ending points optional—sometimes an activity is simply a dead end—but if this is the case, then there is no harm in indicating that the only activity edge (formerly known as a transition) is to an ending point. That way, when someone else reads your diagram, they know that you have considered how to exit these activities.
To save this book to your Kindle, first ensure [email protected] is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.
Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.
Find out more about the Kindle Personal Document Service.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.