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
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
Great work. I needed a refresh and this was perfect.
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!
you explained a complex topic in the simplest way possible. thanks
Great thanks from Indonesia. Very good video.. concise and clear.. love it..
@user-lm1xe3ms8v
Жыл бұрын
Really 😮
Like the way you teach. Thank you!
@Master2Teach
3 жыл бұрын
Glad to hear that! Thank you so much
Thank you Very much, well understood.
Superbly explained the activity diagram with an example.
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?
thank you so much! Nice refresh video with great examples!
@Master2Teach
11 ай бұрын
Glad it was helpful!
Thank you soo much. Well understood.
It's very help full...Thank you!..
@Master2Teach
3 жыл бұрын
Glad to hear that
Really good video. Describe everything, leave nothing. Thanks.
@Master2Teach
3 жыл бұрын
Glad you liked it!
Parabéns achei excelente a explicação!!!
@Master2Teach
Жыл бұрын
obrigada Thank you so much.
A great little refresher course!
Very nice, Sir. Thankyou!
Thank you sir!!! you explained it very well and east to understand
Thank you for this very useful video!
Good explanation for beginners.
Great video to learn !!!!!!!!!!
@Master2Teach
3 жыл бұрын
Thank you 🤗 Pls don't forget to like, share, and subscribe.
Thank You for the easy learn video
@Master2Teach
3 жыл бұрын
Glad it was helpful! Please don't forget to share the video.
Thank you for the info it is very helpful
precise.. great...
Should we represent the whole system in a single diagram or can take scenarios ?
@Its_Pritam_
2 жыл бұрын
Exactly, Literally, no one on the internet explained that!
@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_
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
2 жыл бұрын
@@Its_Pritam_ Great Help bro!
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
Thank you for the vid!
Super explaining...thank you so much...hopping more videoes
@Master2Teach
3 жыл бұрын
Sure 👍
Nicely explained!
Thank you so much friend!
I ma From Ethiopia, and i would like to say thanks, you are my teacher of Diagram1
@Master2Teach
Жыл бұрын
You are most welcome and don't forget to like, share, and subscribe the channel.
Thanks from Poland
Thank you!!
Thank you !
@Master2Teach
3 жыл бұрын
You're welcome!
It's help, Thanks.
@Master2Teach
3 жыл бұрын
Glad to hear that
很好的视频,使我的软件工程旋转
thanks for the video!
@Master2Teach
Жыл бұрын
Thank you for watching and comment. Hope it help.
Perfect thank you so ❤
amazing man thanks
@Master2Teach
3 жыл бұрын
Happy to help
The best ❤️
very well explained
Awesome tutorial
@Master2Teach
Жыл бұрын
Thank you for watching and comment. Hope it help.
really good video sir.. thanku
Thanks for your video 😍😍
@Master2Teach
3 жыл бұрын
So nice of you. Please don't forget to share.
Thankyou for your best explanation. I have got a idea how to draw a an activity diagrame.anyway thankyou sir.
@Master2Teach
4 жыл бұрын
You are most welcome. Don't forget to like, share, and subscribe the channel
Great tutorial
@Master2Teach
Жыл бұрын
Great!! thanks for watching. Please don't forget to like, share, and subscribe.
Thank you so much
@Master2Teach
3 жыл бұрын
You're most welcome
Is this using Java execution Traces
Can u please do the activity sequence and class diagram for the project Church Management System
@Master2Teach
3 жыл бұрын
Sure, if possible please send me all details. master2teach@gmail.com
I need a activity diagram on topic bank management system plz..sir And awesome sir🙏
@Master2Teach
3 жыл бұрын
Will upload soon. Thank you so much for watching.
@ayush_sheta
3 жыл бұрын
@@Master2Teach ok
Awesome sir.
@Master2Teach
4 жыл бұрын
Thanks a ton. Keep watching do Learning.
Thank you..
@Master2Teach
3 жыл бұрын
Thank you.
Great Video
Thanks a lot sir wish my professor could teach me well 😢
Which tool u use for all this notations please help ?
Thank u 🌹
@Master2Teach
3 жыл бұрын
You’re welcome 😊
Thanks a lot Sir. 😃
@Master2Teach
Жыл бұрын
Thanks for comment. Pls don't forget to like and share the video and subscribe too :)
@omar.5076
Жыл бұрын
@@Master2Teach Already done.
Oh my Allah help me😞
@laibanawaz7789
5 ай бұрын
Ameem
@habibaemad7177
2 ай бұрын
Pagallllllll
@ahmedabdulkareem783
2 ай бұрын
@@habibaemad7177 what does that mean?
very good video but i was expecting that if you use partition in library example
@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.
Awesome Sir
@Master2Teach
4 жыл бұрын
Thank you. Keep watching .
good video nice thanku sir xixi
can you do activity and sequence diagram for fall detection system very urgent for me
@Master2Teach
4 жыл бұрын
Thank you for watching video. Please send all details in master2teach@gmail.com.
nice circol bro
Thnx bro🙏🙏🙏🙏🙏🙏
Well explained
@Master2Teach
Жыл бұрын
Thank you.
❤️👍🙏
💥
how to draw activity diagram for ml models
Nice Video xP
@Master2Teach
3 жыл бұрын
Thanks 😅
Your English sounds funny and cute 😜 Thanks for the video
@Master2Teach
3 ай бұрын
I hope you enjoyed it, learn something,
Thanks alot very informative
@Master2Teach
Жыл бұрын
Thank you for watching and comment. Please share with other as well.
What's the difference between join node and merge node?
@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
3:29
nice
Nepali rexa bro good good la
@Master2Teach
3 жыл бұрын
Thank you so much Dai
Bro Nepal kun thau bata ho?
#GameStudio5
my guy
Its wold be better if u left the music🌸
epic ingilys is vary goood uh hai
@Master2Teach
3 жыл бұрын
Thank you very much. Pls don't forget to share with other friend.
It's feels like you are gujarati...😅
@Master2Teach
3 жыл бұрын
Hehe Thanks for comment. Im from Nepal.
@katherineparker1163
3 жыл бұрын
Upbeat - straightforward and clear, I like that!
I have a question
印度人 我的超人
Sam english waya marha mermanghoda
isss start
@Master2Teach
Жыл бұрын
Great!! Thank you for the comment.
hello i need help please Sir
Sliit kekw Sliit kekw Sliit kekw
Are you from nepal😆?
Before 7
Nepali accent xa ta
nice
@Master2Teach
3 жыл бұрын
Thanks