uml diagram types with examples for each type of uml diagrams.pdf
TRANSCRIPT
4/3/14, 9:07 PMUML Diagram Types With Examples for Each Type of UML Diagrams
Página 1 de 20http://creately.com/blog/diagrams/uml-diagram-types-examples/#ClassDiagram
The Creately Blog
2 February 2012 Nishadha
UML stands for Unified Modeling Language which is used in object oriented software engineering. Al-though typically used in software engineering it is a rich language that can be used to model an applica-tion structures, behavior and even business processes. There are 14 UML diagram types to help youmodel these behavior. They can be divided into two main categories: structure diagrams and behavioraldiagrams. All 14 UML diagram types are listed below with examples, brief introduction to them and alsohow they are used when modeling applications.
You can draw UML diagrams online using our software, or check out some UML diagram examples atour diagramming community.
List of UML Diagram TypesTypes of UML diagrams with structure diagrams coming first and behavioral diagrams starting from posi-tion 8. Click on any diagram type to visit that specific diagram types description.
Class DiagramComponent DiagramDeployment DiagramObject DiagramPackage DiagramProfile DiagramComposite Structure DiagramUse Case DiagramActivity DiagramState Machine DiagramSequence DiagramCommunication DiagramInteraction Overview DiagramTiming Diagram
Home » diagrams » The Complete Guide to UML Diagram Types with Examples
The Complete Guide to UML Diagram Types withExamples
4/3/14, 9:07 PMUML Diagram Types With Examples for Each Type of UML Diagrams
Página 2 de 20http://creately.com/blog/diagrams/uml-diagram-types-examples/#ClassDiagram
UML Diagram Types
Structure diagrams show the things in a system being modeled. In a more technical term they show dif-ferent objects in a system. Behavioral diagrams shows what should happen in a system. They describehow the objects interact with each other to create a functioning system.
Class DiagramClass diagrams are arguably the most used UML diagram type. It is the main building block of any object orientedsolution. It shows the classes in a system, attributes and operations of each class and the relationship betweeneach class. In most modeling tools a class has three parts, name at the top, attributes in the middle and operationsor methods at the bottom. In large systems with many classes related classes are grouped together to to createclass diagrams. Different relationships between diagrams are show by different types of Arrows. Below is a imageof a class diagram. Follow the link for more class diagram examples.
4/3/14, 9:07 PMUML Diagram Types With Examples for Each Type of UML Diagrams
Página 3 de 20http://creately.com/blog/diagrams/uml-diagram-types-examples/#ClassDiagram
UML Class Diagram with Relationships
Component DiagramA component diagram displays the structural relationship of components of a software system. These aremostly used when working with complex systems that has many components. Components communi-cate with each other using interfaces. The interfaces are linked using connectors. Below images shows acomponent diagram.
Simple Component Diagram with Interfaces
Deployment DiagramA deployment diagrams shows the hardware of your system and the software in those hardware. Deploy-ment diagrams are useful when your software solution is deployed across multiple machines with eachhaving a unique configuration. Below is an example deployment diagram.
4/3/14, 9:07 PMUML Diagram Types With Examples for Each Type of UML Diagrams
Página 4 de 20http://creately.com/blog/diagrams/uml-diagram-types-examples/#ClassDiagram
UML Deployment Diagram ( Click on the image to use it as a template )
Object DiagramObject Diagrams, sometimes referred as Instance diagrams are very similar to class diagrams. As classdiagrams they also show the relationship between objects but they use real world examples. They areused to show how a system will look like at a given time. Because there is data available in the objectsthey are often used to explain complex relationships between objects.
UML Object Diagram Example
Package DiagramAs the name suggests a package diagrams shows the dependencies between different packages in asystem. Check out this wiki article to learn more about the dependencies and elements found in packagediagrams.
4/3/14, 9:07 PMUML Diagram Types With Examples for Each Type of UML Diagrams
Página 5 de 20http://creately.com/blog/diagrams/uml-diagram-types-examples/#ClassDiagram
Package Diagram in UML
Profile DiagramProfile diagram is a new diagram type introduced in UML 2. This is a diagram type that is very rarelyused in any specification. For more detailed technical information about this diagram type check this link.
Basic UML Profile Diagram structure
Composite Structure DiagramComposite structure diagrams are used to show the internal structure of a class. For a detailed explana-tion of composite structure diagrams click here.
4/3/14, 9:07 PMUML Diagram Types With Examples for Each Type of UML Diagrams
Página 6 de 20http://creately.com/blog/diagrams/uml-diagram-types-examples/#ClassDiagram
A simple Composite Structure Diagram
Use Case DiagramMost known diagram type of the behavioral UML diagrams, Use case diagrams gives a graphic overviewof the actors involved in a system, different functions needed by those actors and how these differentfunctions are interacted. It’s a great starting point for any project discussion because you can easily iden-tify the main actors involved and the main processes of the system. Click through to read more aboutuse case diagram elements and templates.
Use Case diagram showing Actors and main processes
Activity DiagramActivity diagrams represent workflows in an graphical way. They can be used to describe business work-flow or the operational workflow of any component in a system. Sometimes activity diagrams are used asan alternative to State machine diagrams. Check out this wiki article to learn about symbols and usage ofactivity diagrams.
4/3/14, 9:07 PMUML Diagram Types With Examples for Each Type of UML Diagrams
Página 7 de 20http://creately.com/blog/diagrams/uml-diagram-types-examples/#ClassDiagram
Activity Diagrams with start, end, processes and deci-
sion points
State Machine DiagramState machine diagrams are similar to activity diagrams although notations and usage changes a bit.They are sometime known as state diagrams or start chart diagrams as well. These are very useful todescribe the behavior of objects that act different according to the state they are at the moment. BelowState machine diagram show the basic states and actions.
State Machine diagram in UML,
sometime referred to as State or
State chart diagram
Sequence DiagramSequence diagrams in UML shows how object interact with each other and the order those interactions
4/3/14, 9:07 PMUML Diagram Types With Examples for Each Type of UML Diagrams
Página 8 de 20http://creately.com/blog/diagrams/uml-diagram-types-examples/#ClassDiagram
occur. It’s important to note that they show the interactions for a particular scenario. The processes arerepresented vertically and interactions are show as arrows. This article explains the purpose and the ba-sics of Sequence diagrams.
Sequence Diagrams in UML shows the interaction be-
tween two processes
Communication DiagramCommunication diagram was called collaboration diagram in UML 1. It is similar to sequence diagramsbut the focus is on messages passed between objects. The same information can be represented usinga sequence diagram and different objects. Click here to understand the differences using an example.
Communication Diagram in UML
Interaction Overview DiagramInteraction overview diagrams are very similar to activity diagrams. While activity diagrams shows a se-quence of processes Interaction overview diagrams shows a sequence of interaction diagrams. In simpleterm they can be called a collection of interaction diagrams and the order they happen. As mentioned be-
4/3/14, 9:07 PMUML Diagram Types With Examples for Each Type of UML Diagrams
Página 9 de 20http://creately.com/blog/diagrams/uml-diagram-types-examples/#ClassDiagram
fore there are seven types of interaction diagrams, so any one of them can be a node in an interactionoverview diagram. ( img – http://www.sa-depot.com/?page_id=645 )
Interaction overview diagram in UML
Timing DiagramTiming diagrams are very similar to sequence diagrams. They represent the behavior of objects in a giv-en time frame. If its only one object the diagram is straight forward but if more then one objects are in-volved they can be used to show interactions of objects during that time frame as well. ( img –http://blog.tangcs.com/2008/01/10/uml-2-diagrams/ )
4/3/14, 9:07 PMUML Diagram Types With Examples for Each Type of UML Diagrams
Página 10 de 20http://creately.com/blog/diagrams/uml-diagram-types-examples/#ClassDiagram
Timing Diagram in UML
Mentioned above are all the UML diagram types. The links given in each section explains the diagramsin more detail and covers the usage, symbols etc. UML offers many diagram types and sometimes twodiagram can explain the same thing using different notations.Check this blog post to learn which UML di-agram best suits you.If you have any questions or suggestions feel free to leave a comment.
Download article as PDF
Tags : UML 2 diagram types, UML behavioral diagrams, UML diagram types, UML interaction dia-grams
About the Author
About NishadhaSoftware engineer turned tech evangelist. I handle marketing stuff here at Creately including writing blogposts and handling social media accounts. In my spare time I love to read and travel. Check out mypersonal blog Rumbling Lankan where I write about online marketing stuff. View all posts by Nishadha →
74 thoughts on “The Complete Guide to UML Diagram Types with Examples”
4/3/14, 9:07 PMUML Diagram Types With Examples for Each Type of UML Diagrams
Página 11 de 20http://creately.com/blog/diagrams/uml-diagram-types-examples/#ClassDiagram
Thomas
Very Helpful Thanks……
18 April 2012 at 4:32 am
Pingback: Class Diagram Relationships UML
Kakoli Das
its very helpful n easy 2 understand,thanx a lot…………
28 April 2012 at 3:18 pm
sahilsharma
very helpful…………could have been better for beginners if each symbols were explained first….
12 May 2012 at 6:07 am
Remya S
very helpful to me, thankzzzzzzzz
23 July 2012 at 9:05 pm
bittu
its really helping us to provide a lot of info we are gaining from it….
15 August 2012 at 5:12 pm
Pingback: Design Process Fall 2012 – UML Diagrams
Stig
Andersen
This is a very helpful overview with manyuseful links. Thanks alot for your effort.
27 September 2012 at 11:55 pm
very helpful n eseasy to underatand
28 September 2012 at 10:05 pm
4/3/14, 9:07 PMUML Diagram Types With Examples for Each Type of UML Diagrams
Página 12 de 20http://creately.com/blog/diagrams/uml-diagram-types-examples/#ClassDiagram
sakhile
tembe
RupaliMatkar
It’s easy to understand… Thanks a lot…
2 October 2012 at 3:42 am
satya
very helpful …
2 October 2012 at 11:40 pm
Arnab
Chakraborty
Looking for such documents for a long. Will also help me to conduct the training programs as well.Thanks a lot.
12 October 2012 at 5:53 pm
anish
simple and helpfull………Thanks a lot.
13 October 2012 at 11:58 pm
indhu
its very helpful to me……….
30 October 2012 at 8:46 pm
T.Pugazharasan
Thankz its usefull 4 my studies.. thankz u….
2 November 2012 at 6:46 am
m.nandhini
it’s easy to understand
2 November 2012 at 9:05 pm
5 November 2012 at 12:55 pm
4/3/14, 9:07 PMUML Diagram Types With Examples for Each Type of UML Diagrams
Página 13 de 20http://creately.com/blog/diagrams/uml-diagram-types-examples/#ClassDiagram
kiran
it’s simple and understandable
zubair
awesome
6 November 2012 at 8:13 pm
daddyEleven
very well explained
8 November 2012 at 6:55 pm
Alexander
Santiale
Thank you for the clear diagrams and explanations.
16 November 2012 at 5:50 pm
lina
like the way u in
17 November 2012 at 6:30 am
umer
very good explained
18 November 2012 at 7:36 am
priyanka
thankzzzz…vry informative and quick to learn!!!!
20 November 2012 at 6:23 am
ramakanta
it is good to see
30 November 2012 at 4:07 pm
13 December 2012 at 10:17 pm
4/3/14, 9:07 PMUML Diagram Types With Examples for Each Type of UML Diagrams
Página 14 de 20http://creately.com/blog/diagrams/uml-diagram-types-examples/#ClassDiagram
gowri
super,its easy to understand for student
gowri
super and easy to understand
13 December 2012 at 10:17 pm
Clark
Good morning, Nishadha. I like the presentation of this information since it provides brief explanationsand examples and links to greater detail.I did notice that a few of your shortcut links up top are broken. Near the very beginning of your UMLdiagram types page you provide a numbered list of diagram types. Each link is supposed to take me tothe brief explanation and example, but numbers 7, 10, and 14 don’t work. Number 13 actually takesme to the location for number 14.Overall, this is a convenient presentation. Thanks.
14 December 2012 at 1:06 am
Nishadha
Good morning, Clark. I apologize for the mistakes. Thanks for taking the time to point them out. I havecorrected them now. Enjoy the article and hope you got some value from it.
14 December 2012 at 4:44 pm
sunnykandola
its really helpful … thanks
17 December 2012 at 10:59 pm
nishchala
nice one…really useful
29 December 2012 at 7:00 pm
Varun
Hello Nishadha,Thank you for the very nice article.I have a question, is it possible in any way that we can develop logic using UML for example we candevelop a logic using MATLAB.Thanks.
5 January 2013 at 3:02 pm
Hi Varun,
7 January 2013 at 6:25 pm
4/3/14, 9:07 PMUML Diagram Types With Examples for Each Type of UML Diagrams
Página 15 de 20http://creately.com/blog/diagrams/uml-diagram-types-examples/#ClassDiagram
Nishadha I haven’t used MATLAB so not sure what exactly you mean by develop logic using UML. Can youexplains it a bit further ?
Abi
hi nishadha,its very useful and very easy for understanding..Thanks
22 January 2013 at 3:36 am
parikshita
Hello Nishadha,Thank you for the very nice article.Cheers!!PP
25 January 2013 at 10:15 pm
Puvanarajan
Thank you so much….
30 January 2013 at 11:08 am
gopinath
thanksvery helpful
1 February 2013 at 4:34 pm
iswarya
really helpful… thank yu so much :):)
13 February 2013 at 10:42 am
krish
thank u lots…its v helpful to understand:-)
6 March 2013 at 6:02 pm
shivamtiwari
its very helpful uml diagram
1 April 2013 at 10:17 pm
Its very helpful site
1 April 2013 at 10:29 pm
4/3/14, 9:07 PMUML Diagram Types With Examples for Each Type of UML Diagrams
Página 16 de 20http://creately.com/blog/diagrams/uml-diagram-types-examples/#ClassDiagram
shivamtiwari
nisha
thank u very much 4 ur article… its very helpful
6 April 2013 at 5:58 pm
Marzio
Great explanation! My compliments. Simple and expressive.
20 April 2013 at 3:55 pm
Miguel
Hi,what would you suggest if you want to build a diagram in which would be displyed a student grades;minimum grades to to pass a exam; final result pass or fail
28 April 2013 at 10:50 pm
josphat
superb.this page is eye catching.kudos quality stuff
5 May 2013 at 1:06 am
Balambigai
Simple and easy to understand
7 May 2013 at 9:47 am
KankerServiks
many types of UML diagramsinformation contained highly detailed easy to understand
14 May 2013 at 2:03 am
Fabio
Hi Nishadha , I find this very helpful and easy to understand, but I have a question about the numberof Diagram, I read this http:/www.omg.org/gettingstarted/what_is_uml.htm and I found ” ..representingthe results using UML 2.0′s thirteen standard diagram types.” 13 or 14 ?
28 May 2013 at 11:08 am
Hi Fabio,
28 May 2013 at 2:29 pm
4/3/14, 9:07 PMUML Diagram Types With Examples for Each Type of UML Diagrams
Página 17 de 20http://creately.com/blog/diagrams/uml-diagram-types-examples/#ClassDiagram
Nishadha As I have listed down in the article, there are 14 UML diagram types in UML 2.0
Madeea
thanks this article is very helpful and easy to understand…great work
6 June 2013 at 5:35 pm
anonimous
Receive your great thanks.This is great work ,thank you!!!continue posting others articles like this.YOUR CUSTOMER
14 June 2013 at 8:54 am
Shobhit
That was pretty informative stuff, and you sire explained it pretty easily!
15 July 2013 at 10:55 pm
sachin
many types of UML diagramsinformation contained highly detailed easy to understand
3 August 2013 at 5:11 am
DIYA
thksss a lottt
24 August 2013 at 7:36 pm
Avadhut
Great stuff,Thanks a lot.
1 September 2013 at 2:58 pm
BindhuMadhuri
very helpful, u made my day!!!
2 September 2013 at 4:39 pm
mass milce
many types of UML diagramsinformation contained highly detailed easy to understand
18 September 2013 at 5:40 pm
4/3/14, 9:07 PMUML Diagram Types With Examples for Each Type of UML Diagrams
Página 18 de 20http://creately.com/blog/diagrams/uml-diagram-types-examples/#ClassDiagram
Shahbaz
Most Effective notes
22 September 2013 at 7:07 pm
suhas
this very useful for the understanding the uml concept
24 September 2013 at 5:32 pm
R.S.
Very helpful for beginners and easy to include in interview facing process.
4 October 2013 at 12:52 am
York
hi man, very nice job. thx a lot~
9 October 2013 at 7:08 pm
Carci
This site is very helpful! Thank You very much!!!!!
7 November 2013 at 10:05 pm
Tinda
much impressive task for learning
25 November 2013 at 9:31 pm
Bhavin
Have seen many UML diagram before, however, the way to put it all together and characterize them isvery important as the author has done it here. Very nice way to represent and identify them. Enjoyedit…
8 December 2013 at 2:31 am
felixi
i love your piece on UML, hope it help me with my exams tomorrow. Really appreciate yourgenerousity
16 December 2013 at 6:54 am
24 December 2013 at 1:33 am
4/3/14, 9:07 PMUML Diagram Types With Examples for Each Type of UML Diagrams
Página 19 de 20http://creately.com/blog/diagrams/uml-diagram-types-examples/#ClassDiagram
deepika
its very useful….without book we easily got …idea
kiqobad
Hi Nishadha ,Have seen many UML diagram before, however, the way to put it all together andcharacterize them is very important as the author has done it here. Very nice way to represent andidentify them.thanks very thanks…of iran kelardasht good time
4 January 2014 at 12:29 am
M.Prakash
Thank you. Nice Article.
20 January 2014 at 8:05 pm
Robinson.moat
Hivery help in business plan and safe time.
22 January 2014 at 1:56 pm
saran
it’s very useful for me, Thanks a lot
23 January 2014 at 9:20 pm
MariaBarket
tomorrow is my exam .. n it helps me a lot ..stay blessed
17 February 2014 at 2:46 am
Carla
Very nice and clean explanation. UML made easy!Thank you.
2 March 2014 at 4:24 am
erwik
Twitter:erwik
Quite useful even if we don’t need all schemas
11 March 2014 at 3:28 am
4/3/14, 9:07 PMUML Diagram Types With Examples for Each Type of UML Diagrams
Página 20 de 20http://creately.com/blog/diagrams/uml-diagram-types-examples/#ClassDiagram
Osama
This is really an awesome article.. thanks buddy
1 April 2014 at 1:16 pm
Bashir
Hi Nishada,what a very helpful note you have given! I have a question. Pls can UML diagrams be used for theunderstanding of problem domain? if yes, please explain.Thanks.Kind regards
3 April 2014 at 4:24 am