I have one dialog where user can perform activity like
"Add to Order" "Show Item Detail in Full Screen" "Perform Scrolling"
how do i show this choices in Activity Diagram user can perform any of this task as optional.
i though of using Fork/Join but isnt't it for parallel activity and these three seems not parallel activity please some one clear it :)
thanks
A decision node is a node in an activity at which the flow branches into several optional flows. There is exactly one incoming edge and an arbitrary number of outgoing edges, which each have a condition. A merge node is a node in an activity at which several flows are merged into one single flow.
An activity can have more than one initial node; in this case several flows start at the beginning of an activity: It is also possible that an activity has no initial node, but is initiated by an event (action: accepting an event).
It is possible for an activity diagram to show multiple final states. Unlike initial state symbols, of which there can be only one on an activity diagram, final state symbols can represent the termination of one of many branches in the logic -- in other words, the activity may terminate in different manners.
Use Decision node and Merge node.
Use Decision node
and Merge node
.
They are equivalent to if
/then
/else
(or switch
) statements.
For parallel activities there are Fork
and Join
See the screenshot below (from VisualParadigm)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With