2. Activity Diagram
Coming up: Swimlane Diagrams
Supplements the use-case
by providing a diagrammatic
representation of procedural
flow
Details:
-Start is a single circle
-End is a bulls-eye
-Decisions are diamonds
(guards must be on both
branches of the diamond!)
Questions:
Do we always have a start?
Do we always have an end?
How might we make this
better?
3. Swimlane Diagrams
Coming up: Activity Diagram Example
Allows the modeler to
represent the flow of
activities described by the
use-case and at the same
time indicate which actor
(if there are multiple
actors involved in a
specific use-case) or
analysis class has
responsibility for the
action described by an
activity rectangle
4. Activity Diagram Example
- To show
concurrent activity,
activity diagrams
allow branches
and joins.
- You can also
reference or
include other
activity diagrams
Coming up: Lets Try It
Fork/Bran
ch
Join
5. Lets Try It
Lets create a swimlane activity diagram for
opening a Lemonade stand.
Let’s create a swimlane diagram to apply for and
get a job when you graduate.
Software that translates voice commands into
user input (for whatever OS you use)
Let’s create a swimlane diagram for withdrawing
money from an ATM. – Nope – this is
essentially the homework for next week!
End of presentation