Search code examples
androidumlactivity-diagram

activity diagram in uml regarding parallel activities


I had a doubt regarding parallel activities that occur in the system. How can we represent those in the diagram? Is there always a need of fork or the decision element can also be used? Eg.: The user can choose among "Add Book" , "Search Book", "Search User" and "Update profile". So after the user logs in the system he can choose among the above operations.activity diagram Below is the image of my activity diagram.


Solution

  • According to http://www.uml-diagrams.org/activity-diagrams-reference.html the

    ..Fork node is a control node that has one incoming edge and multiple outgoing edges and is used to split incoming flow into multiple concurrent flows..

    and

    ..Decision node is a control node that accepts tokens on one or two incoming edges and selects one outgoing edge from one or more outgoing flows..

    In your case the 1 user will select and perform 1 of the possible actions and do it 1 at a time. The user will not use 2 or more mice or 2 or more browser tabs to use the application concurrently..