This gets to a fundamental point re: "what is a model?" (as in Unified
Modeling Language). A model is not one static immutable thing, but
represents a category of models in superposition that are played out
asynchronously, and of which scenarios are examples of one concern.
This makes entry level UML difficult to understand, so it is rightly avoided
for newcomers. But in the real world, software is developed for multiple
users, with multiple execution paths through the network graph that
represents its application. The nodes on that graph represent activities
(again, a category of possible action graphs).
So, the neophyte views UML models as one thing, and experts view them very
differently.
-----Original Message-----
From:
umlf...@googlegroups.com [mailto:
umlf...@googlegroups.com] On Behalf
Of RJB
Sent: Tuesday, August 07, 2012 3:34 PM
To:
umlf...@googlegroups.com
Subject: [UML Forum] Scenarios in Activity Diagram
A scenario is a simple text description of one path through a use case. It
keeps things simple by not spelling out all the alternatives in one
scenario. But you can add extensions to a scenario that express alternatives
pathways. A well written use case organizes scenarios arround a particular
user need/goal.
The most useful things in the scenarios are the steps. Each step can be
expressed as a sequence diagram of messages inside the system, between the
objects, and so to the OO design.
An activity diagram is useful for sorting out complex logic. It is worrying
if you need an activity diagram to work out a scenario which should be
simple.
An activity diagram of a use case might sort out some logic, but before you
know it you've got a 1970's style structured design, or worse, spaghetti.
Another use for an activity diagram is expressing an algorithm. These tend
to appear as the implementation of a method/operation in a class.
--
You received this message because you are subscribed to the Google Groups
"UML Forum" group.
Public website:
www.umlforum.com
To post to this group, send email to
umlf...@googlegroups.com To
unsubscribe from this group, send email to
umlforum+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/umlforum?hl=en?hl=en