Activity Diagram - Step by Step Guide with Example

In this video, you’re going to learn
1. What is the Activity Diagram?
2. How to draw an activity diagram?
3. Step by step with examples.
One of the other important diagrams in UML is the Activity Diagram which shows a dynamic view of the system. The activity diagram is a flowchart to represent the flow of control among the activities in a system. Simply, it’s an operation of the system shown in the diagrammatical form where it shows all the control flow from one operation to another.
So far we have gone through the use case diagram, communication, sequence, and class diagram which shows the message flow from one object to another but in the activity diagram shows the message flow from one activity to another.
The flow of operation can be sequential, branched or concurrent. The activity diagram is sometimes considered as the flowchart. Although the diagrams look like a flowchart, they are not. Now let’s move to learn different notations used in the activity diagram.
1. Start Node: The black small filled circle is the standard notation for an initial state before an activity takes place. In the flow chart we draw in an oval shape label with Start whereas in the activity diagram we draw with fill small circle as shown in the diagram to represent the start of the activity.
2. Final Activity node: The Black circle that looks like a selected radio button is the symbol for the end state of activity. In the flow chart we represent in oval shape label with the end in it whereas in the activity diagram we represent with small fill circle include borderline circle as shown in the figure.
3. Activity: The activity symbols are the basic building blocks of an activity diagram and usually have a short description of the activity they represent. It is represented by the oval shape as well as a round-edged rectangle box as shown in the figure.
4. Control Flow: A solid line with an arrow represent the direction flow of the activities. The arrow points in the direction of progressing activities.
5. Join: A join combines two concurrent activities back into a flow where only one activity is happening at a time which is represented as shown in the figure.
6. Fork: A fork splits single activity flow into two concurrent activities which are represented.
7. Decision Symbol: It is similar to the flow chart which is represented by the diamond shape where two paths coming out of a decision and the condition text lets you know which options are mutually exclusive.
8. Condition: condition text is placed next to a decision marker to let you know under what condition an activity flow should split off in that direction.
9. Merge Node: Merge is similar to the join where two activities are merged with the condition and only one activity flows forward as shown in the figure. For example: While Sending E-mail, if the email is private, encrypted it before sending it while if not private, send as regular mail. These two activities are merged with the merge node which is the same as the decision represented by a diamond shape. In Decision one activity as input and there will be two output according to a condition whereas in merge two activities are input and output only one activity.
10. Final Flow node: It may be confusing with the final activity node. It represents the end of a specific process flow which is denoted by a circle with cross lines inside the circle.
11. Partition: activity diagram partition is also known as swim lanes which are used to represent or group actions carried out by different actors in a single thread.
12. Note: or Comment: This is similar to the sequence diagram, used to add relevant comments to elements that are represented by one corner folded symbol.
Signal Sending which is used to represent the action of sending a single to an accepting activity
Signal receipt, which is used to represent that signal is received.
In this way, you can draw the activity diagram using a different kind of notation showing stepwise activities.
How to draw Use Case Diagram
• Use Case Diagram - Ste...
How to verify Use Case Diagram
• Use Case Diagram - Ste...
How to draw Communication or Collaboration Diagram
• Communication - Collab...
How to draw Sequence Diagram
• Sequence Diagram - Ste...
SUBSCRIBE to our KZread channel for more videos:
kzread.info...
Like us on Facebook: / master2teach
For more content go to master2teach.com/
E-mail: master2teach@gmail.com

Пікірлер: 142

  • @2iii68sitikhairiyyahrusli7
    @2iii68sitikhairiyyahrusli7 Жыл бұрын

    Thanks for explaining it briefly. I hope I've come up with the idea of describing the activity diagram as already described and thank you very much sir

  • @twosorzeros20
    @twosorzeros202 жыл бұрын

    Great work. I needed a refresh and this was perfect.

  • @agustinlawtaro
    @agustinlawtaro3 жыл бұрын

    I think there's a mistake in minute 6:45, in the "search book" activity, because you have 2 flows and you can't have the activity initiated unless it receives the tokens from the 2 flows, but it can't have the 2 tokens because they're sequential. I think a merge is needed there. Besides of that, thanks for the video!

  • @Alchemist10241
    @Alchemist10241 Жыл бұрын

    you explained a complex topic in the simplest way possible. thanks

  • @surihapsari6595
    @surihapsari65952 жыл бұрын

    Great thanks from Indonesia. Very good video.. concise and clear.. love it..

  • @user-lm1xe3ms8v

    @user-lm1xe3ms8v

    Жыл бұрын

    Really 😮

  • @programminglover2851
    @programminglover28513 жыл бұрын

    Like the way you teach. Thank you!

  • @Master2Teach

    @Master2Teach

    3 жыл бұрын

    Glad to hear that! Thank you so much

  • @ngozik-opara4373
    @ngozik-opara43732 жыл бұрын

    Thank you Very much, well understood.

  • @PrashanthKumar-je4lh
    @PrashanthKumar-je4lh3 жыл бұрын

    Superbly explained the activity diagram with an example.

  • @vunamnguyen9630
    @vunamnguyen96302 жыл бұрын

    I am working on an activity diagram. However, I'm not sure how to make the actions happen concurrently, run parallel to each other (AND) and how to represent either action to happen (OR). When I looked at some examples, I was quite confused when the joint and folk symbols are used in both of these cases. Can anyone help me, please?

  • @ramanha6097
    @ramanha6097 Жыл бұрын

    thank you so much! Nice refresh video with great examples!

  • @Master2Teach

    @Master2Teach

    11 ай бұрын

    Glad it was helpful!

  • @nethuhasi3633
    @nethuhasi36332 жыл бұрын

    Thank you soo much. Well understood.

  • @CreativeRosh
    @CreativeRosh3 жыл бұрын

    It's very help full...Thank you!..

  • @Master2Teach

    @Master2Teach

    3 жыл бұрын

    Glad to hear that

  • @muhammadahwar3023
    @muhammadahwar30233 жыл бұрын

    Really good video. Describe everything, leave nothing. Thanks.

  • @Master2Teach

    @Master2Teach

    3 жыл бұрын

    Glad you liked it!

  • @AlmirTeodoroDias
    @AlmirTeodoroDias Жыл бұрын

    Parabéns achei excelente a explicação!!!

  • @Master2Teach

    @Master2Teach

    Жыл бұрын

    obrigada Thank you so much.

  • @ChannaGun
    @ChannaGun2 жыл бұрын

    A great little refresher course!

  • @tanvikumari5406
    @tanvikumari54062 жыл бұрын

    Very nice, Sir. Thankyou!

  • @jyuni478
    @jyuni4783 ай бұрын

    Thank you sir!!! you explained it very well and east to understand

  • @higiniofuentes2551
    @higiniofuentes25517 ай бұрын

    Thank you for this very useful video!

  • @oliveryt7168
    @oliveryt71683 жыл бұрын

    Good explanation for beginners.

  • @jewelshekh6433
    @jewelshekh64333 жыл бұрын

    Great video to learn !!!!!!!!!!

  • @Master2Teach

    @Master2Teach

    3 жыл бұрын

    Thank you 🤗 Pls don't forget to like, share, and subscribe.

  • @setiaidam
    @setiaidam3 жыл бұрын

    Thank You for the easy learn video

  • @Master2Teach

    @Master2Teach

    3 жыл бұрын

    Glad it was helpful! Please don't forget to share the video.

  • @MBindu-kc2nj
    @MBindu-kc2nj Жыл бұрын

    Thank you for the info it is very helpful

  • @gokulakrishnan6930
    @gokulakrishnan69304 күн бұрын

    precise.. great...

  • @priyankav6437
    @priyankav64373 жыл бұрын

    Should we represent the whole system in a single diagram or can take scenarios ?

  • @Its_Pritam_

    @Its_Pritam_

    2 жыл бұрын

    Exactly, Literally, no one on the internet explained that!

  • @saimirfan902

    @saimirfan902

    2 жыл бұрын

    I think we need different scenarios for different activities so that you can be more precise and add more details. It would be really hard to present a whole system in a single diagram. An activity diagram is a behavioral diagram and you cant really have all of the behaviors happening at the same time.

  • @Its_Pritam_

    @Its_Pritam_

    2 жыл бұрын

    @@saimirfan902 Hi brother, you are right. I finally made one referencing the diagram in the below link. We just have to use connectors and separate different scenarios. This is for anyone who is still looking for the answer. www.uml-diagrams.org/online-shopping-uml-activity-diagram-example.html?context=activity-examples

  • @saimirfan902

    @saimirfan902

    2 жыл бұрын

    @@Its_Pritam_ Great Help bro!

  • @belhadjterbagou6533
    @belhadjterbagou65333 жыл бұрын

    hi, sorry but i have 2 question 1-if i use a fork i have to close it with a join, i can't finish without close? 2-i can collegate a join with a previous fork? (for example in your diagram 3:26 i collegate the arrow after join to previous fork) i have a strange situation on my diagram

  • @sahanahsj6702
    @sahanahsj67022 жыл бұрын

    Thank you for the vid!

  • @madushaninimeshika3910
    @madushaninimeshika39103 жыл бұрын

    Super explaining...thank you so much...hopping more videoes

  • @Master2Teach

    @Master2Teach

    3 жыл бұрын

    Sure 👍

  • @swarupsamanta9425
    @swarupsamanta94252 ай бұрын

    Nicely explained!

  • @unruly_ronin
    @unruly_ronin Жыл бұрын

    Thank you so much friend!

  • @adanenegash6368
    @adanenegash6368 Жыл бұрын

    I ma From Ethiopia, and i would like to say thanks, you are my teacher of Diagram1

  • @Master2Teach

    @Master2Teach

    Жыл бұрын

    You are most welcome and don't forget to like, share, and subscribe the channel.

  • @reg1tni9
    @reg1tni93 ай бұрын

    Thanks from Poland

  • @kamyagupta4030
    @kamyagupta4030 Жыл бұрын

    Thank you!!

  • @revasseurborn2000
    @revasseurborn20003 жыл бұрын

    Thank you !

  • @Master2Teach

    @Master2Teach

    3 жыл бұрын

    You're welcome!

  • @joylife3429
    @joylife34293 жыл бұрын

    It's help, Thanks.

  • @Master2Teach

    @Master2Teach

    3 жыл бұрын

    Glad to hear that

  • @koishi1324
    @koishi13245 ай бұрын

    很好的视频,使我的软件工程旋转

  • @milly6352
    @milly63522 жыл бұрын

    thanks for the video!

  • @Master2Teach

    @Master2Teach

    Жыл бұрын

    Thank you for watching and comment. Hope it help.

  • @mostafaosama2147
    @mostafaosama21474 ай бұрын

    Perfect thank you so ❤

  • @samer_hadaddin5173
    @samer_hadaddin51733 жыл бұрын

    amazing man thanks

  • @Master2Teach

    @Master2Teach

    3 жыл бұрын

    Happy to help

  • @sanujatharinda6525
    @sanujatharinda65253 жыл бұрын

    The best ❤️

  • @asifing24x7
    @asifing24x7 Жыл бұрын

    very well explained

  • @ronaldongoma717
    @ronaldongoma7172 жыл бұрын

    Awesome tutorial

  • @Master2Teach

    @Master2Teach

    Жыл бұрын

    Thank you for watching and comment. Hope it help.

  • @multimedialife9193
    @multimedialife91933 жыл бұрын

    really good video sir.. thanku

  • @Theepansworld
    @Theepansworld3 жыл бұрын

    Thanks for your video 😍😍

  • @Master2Teach

    @Master2Teach

    3 жыл бұрын

    So nice of you. Please don't forget to share.

  • @mohamedrifky3284
    @mohamedrifky32844 жыл бұрын

    Thankyou for your best explanation. I have got a idea how to draw a an activity diagrame.anyway thankyou sir.

  • @Master2Teach

    @Master2Teach

    4 жыл бұрын

    You are most welcome. Don't forget to like, share, and subscribe the channel

  • @saidathanikhil.k6415
    @saidathanikhil.k64152 жыл бұрын

    Great tutorial

  • @Master2Teach

    @Master2Teach

    Жыл бұрын

    Great!! thanks for watching. Please don't forget to like, share, and subscribe.

  • @shamimmd.omarfaroque5377
    @shamimmd.omarfaroque53773 жыл бұрын

    Thank you so much

  • @Master2Teach

    @Master2Teach

    3 жыл бұрын

    You're most welcome

  • @karthikreddy5851
    @karthikreddy58513 жыл бұрын

    Is this using Java execution Traces

  • @angelsunny9714
    @angelsunny97143 жыл бұрын

    Can u please do the activity sequence and class diagram for the project Church Management System

  • @Master2Teach

    @Master2Teach

    3 жыл бұрын

    Sure, if possible please send me all details. master2teach@gmail.com

  • @ayush_sheta
    @ayush_sheta3 жыл бұрын

    I need a activity diagram on topic bank management system plz..sir And awesome sir🙏

  • @Master2Teach

    @Master2Teach

    3 жыл бұрын

    Will upload soon. Thank you so much for watching.

  • @ayush_sheta

    @ayush_sheta

    3 жыл бұрын

    @@Master2Teach ok

  • @kushalneupane8591
    @kushalneupane85914 жыл бұрын

    Awesome sir.

  • @Master2Teach

    @Master2Teach

    4 жыл бұрын

    Thanks a ton. Keep watching do Learning.

  • @AhamedKabeer-wn1jb
    @AhamedKabeer-wn1jb3 жыл бұрын

    Thank you..

  • @Master2Teach

    @Master2Teach

    3 жыл бұрын

    Thank you.

  • @nowhynot7711
    @nowhynot77113 жыл бұрын

    Great Video

  • @laibanawaz7789
    @laibanawaz77895 ай бұрын

    Thanks a lot sir wish my professor could teach me well 😢

  • @user-xg7hi5mh3g
    @user-xg7hi5mh3g Жыл бұрын

    Which tool u use for all this notations please help ?

  • @suger9672
    @suger96723 жыл бұрын

    Thank u 🌹

  • @Master2Teach

    @Master2Teach

    3 жыл бұрын

    You’re welcome 😊

  • @omar.5076
    @omar.5076 Жыл бұрын

    Thanks a lot Sir. 😃

  • @Master2Teach

    @Master2Teach

    Жыл бұрын

    Thanks for comment. Pls don't forget to like and share the video and subscribe too :)

  • @omar.5076

    @omar.5076

    Жыл бұрын

    @@Master2Teach Already done.

  • @ahmedabdulkareem783
    @ahmedabdulkareem783 Жыл бұрын

    Oh my Allah help me😞

  • @laibanawaz7789

    @laibanawaz7789

    5 ай бұрын

    Ameem

  • @habibaemad7177

    @habibaemad7177

    2 ай бұрын

    Pagallllllll

  • @ahmedabdulkareem783

    @ahmedabdulkareem783

    2 ай бұрын

    @@habibaemad7177 what does that mean?

  • @AmanatAli-gm2xq
    @AmanatAli-gm2xq4 жыл бұрын

    very good video but i was expecting that if you use partition in library example

  • @Master2Teach

    @Master2Teach

    4 жыл бұрын

    Thank you watching my video and nice comment. I will try my best to upload soon another video as per your expectation. Don't forget to like, share, and subscribe my channel.

  • @tejnarayan1974
    @tejnarayan19744 жыл бұрын

    Awesome Sir

  • @Master2Teach

    @Master2Teach

    4 жыл бұрын

    Thank you. Keep watching .

  • @axelle-3052
    @axelle-3052 Жыл бұрын

    good video nice thanku sir xixi

  • @krishnachaitanya6107
    @krishnachaitanya61074 жыл бұрын

    can you do activity and sequence diagram for fall detection system very urgent for me

  • @Master2Teach

    @Master2Teach

    4 жыл бұрын

    Thank you for watching video. Please send all details in master2teach@gmail.com.

  • @ahsaninkiad4781
    @ahsaninkiad4781 Жыл бұрын

    nice circol bro

  • @dimitri9112
    @dimitri9112 Жыл бұрын

    Thnx bro🙏🙏🙏🙏🙏🙏

  • @sravanikolluru8129
    @sravanikolluru8129 Жыл бұрын

    Well explained

  • @Master2Teach

    @Master2Teach

    Жыл бұрын

    Thank you.

  • @kamyagupta4030
    @kamyagupta4030 Жыл бұрын

    ❤️👍🙏

  • @lasindunuwanga5292
    @lasindunuwanga52922 жыл бұрын

    💥

  • @katasiddartha1542
    @katasiddartha1542 Жыл бұрын

    how to draw activity diagram for ml models

  • @srujangowda8490
    @srujangowda84903 жыл бұрын

    Nice Video xP

  • @Master2Teach

    @Master2Teach

    3 жыл бұрын

    Thanks 😅

  • @ZulfiqarKhorrami
    @ZulfiqarKhorrami3 ай бұрын

    Your English sounds funny and cute 😜 Thanks for the video

  • @Master2Teach

    @Master2Teach

    3 ай бұрын

    I hope you enjoyed it, learn something,

  • @derickasane8499
    @derickasane8499 Жыл бұрын

    Thanks alot very informative

  • @Master2Teach

    @Master2Teach

    Жыл бұрын

    Thank you for watching and comment. Please share with other as well.

  • @FaridCenreng-
    @FaridCenreng-2 жыл бұрын

    What's the difference between join node and merge node?

  • @AnasAliCreations

    @AnasAliCreations

    Жыл бұрын

    Join node joins combines two concurrent activities to the next activity. While merge node joins two concurrent activities that were derived from some decision to the next activity

  • @david_smann
    @david_smann11 ай бұрын

    3:29

  • @hkhafiz5415
    @hkhafiz54153 ай бұрын

    nice

  • @satanicalso7905
    @satanicalso79053 жыл бұрын

    Nepali rexa bro good good la

  • @Master2Teach

    @Master2Teach

    3 жыл бұрын

    Thank you so much Dai

  • @hanumabihari178
    @hanumabihari178 Жыл бұрын

    Bro Nepal kun thau bata ho?

  • @alitgsofficial
    @alitgsofficial2 жыл бұрын

    #GameStudio5

  • @_osaid
    @_osaid Жыл бұрын

    my guy

  • @user-gf6vb5vl5e
    @user-gf6vb5vl5e2 жыл бұрын

    Its wold be better if u left the music🌸

  • @aravindhraman8449
    @aravindhraman84493 жыл бұрын

    epic ingilys is vary goood uh hai

  • @Master2Teach

    @Master2Teach

    3 жыл бұрын

    Thank you very much. Pls don't forget to share with other friend.

  • @adishgaikwad6138
    @adishgaikwad61383 жыл бұрын

    It's feels like you are gujarati...😅

  • @Master2Teach

    @Master2Teach

    3 жыл бұрын

    Hehe Thanks for comment. Im from Nepal.

  • @katherineparker1163

    @katherineparker1163

    3 жыл бұрын

    Upbeat - straightforward and clear, I like that!

  • @easypc1913
    @easypc19133 жыл бұрын

    I have a question

  • @user-us4uh8ho9t
    @user-us4uh8ho9t Жыл бұрын

    印度人 我的超人

  • @based1708
    @based1708 Жыл бұрын

    Sam english waya marha mermanghoda

  • @legendoflegends6020
    @legendoflegends60202 жыл бұрын

    isss start

  • @Master2Teach

    @Master2Teach

    Жыл бұрын

    Great!! Thank you for the comment.

  • @Dingl_Mariam2121
    @Dingl_Mariam2121 Жыл бұрын

    hello i need help please Sir

  • @harahayaku4611
    @harahayaku46112 жыл бұрын

    Sliit kekw Sliit kekw Sliit kekw

  • @ishusmreety1294
    @ishusmreety1294 Жыл бұрын

    Are you from nepal😆?

  • @souronion3822
    @souronion38229 ай бұрын

    Before 7

  • @bharatthapa5592
    @bharatthapa5592 Жыл бұрын

    Nepali accent xa ta

  • @hidayapatel9242
    @hidayapatel92423 жыл бұрын

    nice

  • @Master2Teach

    @Master2Teach

    3 жыл бұрын

    Thanks