Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Show Multiple Option Choice in Activity Diagram

Tags:

uml

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

like image 787
Kirtan Avatar asked Apr 11 '12 15:04

Kirtan


People also ask

What is a decision in an activity diagram?

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.

Can activity diagram have multiple starts?

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).

Can activity diagram have multiple endings?

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.


2 Answers

Use Decision node and Merge node.

multi decision

like image 200
gavenkoa Avatar answered Dec 01 '22 23:12

gavenkoa


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)

enter image description here

like image 30
Arialdo Martini Avatar answered Dec 01 '22 23:12

Arialdo Martini