3.6 The Activity Diagram
FIGURE 3-44
Example for parameter sets.
act Buy soft drink (section)
Pay soft drink
[Cannot read card]
[Insufficient amount
on card]
[o.k.]
Money card Money Change:Money
182 CHAPTER 3 UML??”Unifi ed Modeling Language
3.6.4 Activity Edge
Defi nitions
An activity edge is a directed relationship between two nodes of an activity.
We distinguish between object flow and control flow.
An object fl ow can only transport object tokens, while a control fl ow can
only transport control tokens.
Edges are the transport paths for tokens in the activity. In the model we distinguish
between object flow and control flow. In the diagram the notation is the same for
both types. The difference can be seen only in the context, for example, whether
the target of an edge is a pin (object flow) or directly an action (control flow).
The notation is an arrow with solid line. SysML introduces a notation variant,
where object fl ows have a solid line and control fl ows have a dashed line. Various
information that infl uence the token transport can be added to the edge, including
the following.
Pages:
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363