SlideShare a Scribd company logo
UML 
Prepared By: MUHAMMAD HAMZA KHAN
What is UML? 
 UML stands for Unified Modeling Language 
 UML is a diagramming language designed for Object- 
Oriented programming 
 UML can be used to describe: 
 the organization of a program 
 how a program executes 
 how a program is used 
 how a program is deployed over a network 
 …and more
Why we use UML? 
 Use graphical notation: more clearly than natural 
language (imprecise) and code (too detailed). 
 Help acquire an overall view of a system. 
 UML is not dependent on any one language or 
technology. 
 UML moves us from breakup to standardization.
Types of UML 
 Class diagram 
 Component diagram 
 Development diagram 
 Object diagram 
 Package diagram 
 Profile diagram 
 Composite structure diagram 
 Use case diagram 
 Activity diagram 
 State machine diagram 
 Sequence diagram 
 Communication diagram 
 Interaction overview diagram 
 Timing diagram
Structure & Behavioral diagrams 
 Structure diagrams show the things in a system being 
modeled. 
 In a more technical term they show different objects in 
a system. 
 Behavioral diagrams shows what should happen in a 
system. 
 They describe how the objects interact with each other 
to create a functioning system.
Class Diagram 
 A class diagram shows classes, interfaces, and their 
relationships 
 It shows the classes in a system, attributes and operations of 
each class and the relationship between each class. 
 In most modeling tools a class has three parts, name at the top, 
attributes in the middle and operations or methods at the 
bottom 
Name of the class 
Variables [optional] 
Methods
Component Diagram 
 A component diagram displays 
the structural relationship of components 
of a software system. 
 These are mostly used when working with 
complex systems that has many 
components. 
 Components communicate with each other 
using interfaces.
Deployment Diagram 
 A deployment diagrams shows the hardware of your system and 
the software in those hardware. 
 Deployment diagrams are 
useful when your software 
solution is deployed across 
multiple machines with 
each having a unique 
configuration
Object Diagram 
 Object Diagrams, sometimes referred as Instance diagrams are 
very similar to class diagrams. 
 As class diagrams they also show the relationship between 
objects but they use real world examples. 
 They are used to show how a system will look like at a given 
time.
Package Diagram 
 As the name suggests a package diagrams shows the 
dependencies between different packages in a system.
Profile Diagram 
 Profile diagram is a new diagram type introduced in UML 2. 
 This is a diagram type that is very rarely used in any 
specification.
Composite Structure 
Diagram 
 Composite structure diagrams are used to show the internal 
structure of a class.
Use Case Diagram 
 Use case diagrams gives a graphic overview of 
the actors involved in a system, different 
functions needed by those actors and how 
these different functions are interacted. 
 It’s a great starting point for any project 
discussion because you can easily identify the 
main actors involved and the main processes 
of the system.
Activity Diagram 
 Activity diagrams represent workflows in an graphical way. 
 They can be used to describe business workflow or the 
operational workflow of any component in a system. 
 Sometimes activity diagrams are used as an alternative to State 
machine diagrams.
State Machine Diagram 
 State 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 to describe the 
behavior of objects that act different 
according to the state they are at the 
moment
Sequence Diagram 
 Sequence diagrams in UML shows how object interact with each other and 
the order those interactions occur. 
 It’s important to note that they show the interactions for a particular 
scenario. 
 The processes are represented vertically and interactions are show as arrows.
Communication Diagram 
 Communication diagram was called collaboration diagram in 
UML 1. 
 It is similar to sequence diagrams but the focus is on messages 
passed between objects. 
 The same information can be represented using a sequence 
diagram and different objects.
Interaction Overview 
Diagram 
 Interaction overview diagrams are very similar to activity diagrams. 
 While activity diagrams shows a sequence of processes Interaction 
overview diagrams shows a sequence of interaction diagrams. 
 In simple term they can be called a 
collection of interaction diagrams and the 
order they happen.
Timing Diagram 
 Timing diagrams are very similar to sequence diagrams. 
 They represent the behavior of objects 
in a given time frame. 
 If its only one object the diagram is 
straight forward but if more then one 
objects are involved they can be used 
to show interactions of objects during 
that time frame as well.
THANK YOU

More Related Content

What's hot

Component diagram
Component diagramComponent diagram
Component diagram
Abdul Manan
 
Uml - An Overview
Uml - An OverviewUml - An Overview
Uml - An Overview
Raj Thilak S
 
Object diagram
Object diagramObject diagram
Object diagram
Rahul Pola
 
Behavioural modelling
Behavioural modellingBehavioural modelling
Behavioural modelling
Benazir Fathima
 
Uml Common Mechanism
Uml Common MechanismUml Common Mechanism
Uml Common Mechanism
Satyamevjayte Haxor
 
Object Oriented Modeling and Design with UML
Object Oriented Modeling and Design with UMLObject Oriented Modeling and Design with UML
Object Oriented Modeling and Design with UML
Malek Sumaiya
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
Ashesh R
 
Types of UML diagrams
Types of UML diagramsTypes of UML diagrams
Types of UML diagrams
Mukesh Tekwani
 
Uml Activity Diagram
Uml Activity DiagramUml Activity Diagram
Uml Activity Diagram
Niloy Rocker
 
Sequence Diagram
Sequence DiagramSequence Diagram
UML Diagrams
UML DiagramsUML Diagrams
UML Diagrams
Kartik Raghuvanshi
 
Sequence diagram- UML diagram
Sequence diagram- UML diagramSequence diagram- UML diagram
Sequence diagram- UML diagram
Ramakant Soni
 
Component and Deployment Diagram - Brief Overview
Component and Deployment Diagram - Brief OverviewComponent and Deployment Diagram - Brief Overview
Component and Deployment Diagram - Brief Overview
Rajiv Kumar
 
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMS
Ashita Agrawal
 
Activity diagram-UML diagram
Activity diagram-UML diagramActivity diagram-UML diagram
Activity diagram-UML diagram
Ramakant Soni
 
Capturing System Behaviour
Capturing System BehaviourCapturing System Behaviour
Capturing System Behaviour
university of education,Lahore
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
barney92
 
Object oriented modeling and design
Object oriented modeling and designObject oriented modeling and design
Object oriented modeling and design
jayashri kolekar
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
Debajyoti Biswas
 
Component Diagram Example Templates
Component Diagram Example TemplatesComponent Diagram Example Templates
Component Diagram Example Templates
Creately
 

What's hot (20)

Component diagram
Component diagramComponent diagram
Component diagram
 
Uml - An Overview
Uml - An OverviewUml - An Overview
Uml - An Overview
 
Object diagram
Object diagramObject diagram
Object diagram
 
Behavioural modelling
Behavioural modellingBehavioural modelling
Behavioural modelling
 
Uml Common Mechanism
Uml Common MechanismUml Common Mechanism
Uml Common Mechanism
 
Object Oriented Modeling and Design with UML
Object Oriented Modeling and Design with UMLObject Oriented Modeling and Design with UML
Object Oriented Modeling and Design with UML
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
 
Types of UML diagrams
Types of UML diagramsTypes of UML diagrams
Types of UML diagrams
 
Uml Activity Diagram
Uml Activity DiagramUml Activity Diagram
Uml Activity Diagram
 
Sequence Diagram
Sequence DiagramSequence Diagram
Sequence Diagram
 
UML Diagrams
UML DiagramsUML Diagrams
UML Diagrams
 
Sequence diagram- UML diagram
Sequence diagram- UML diagramSequence diagram- UML diagram
Sequence diagram- UML diagram
 
Component and Deployment Diagram - Brief Overview
Component and Deployment Diagram - Brief OverviewComponent and Deployment Diagram - Brief Overview
Component and Deployment Diagram - Brief Overview
 
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMS
 
Activity diagram-UML diagram
Activity diagram-UML diagramActivity diagram-UML diagram
Activity diagram-UML diagram
 
Capturing System Behaviour
Capturing System BehaviourCapturing System Behaviour
Capturing System Behaviour
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
 
Object oriented modeling and design
Object oriented modeling and designObject oriented modeling and design
Object oriented modeling and design
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
 
Component Diagram Example Templates
Component Diagram Example TemplatesComponent Diagram Example Templates
Component Diagram Example Templates
 

Similar to Uml with detail

UML (Unified Modeling Language)
UML (Unified Modeling Language)UML (Unified Modeling Language)
UML (Unified Modeling Language)
Nguyen Tuan
 
Learn sqa process
Learn sqa processLearn sqa process
Learn sqa process
Nusrat Jahan
 
Uml.pptx
Uml.pptxUml.pptx
Uml.pptx
AnjaliParihar13
 
432
432432
UML
UMLUML
Experiment no
Experiment noExperiment no
Experiment no
hinamunjal
 
Introduction.pptx
Introduction.pptxIntroduction.pptx
Introduction.pptx
SENTHILR44
 
Uml(unified modeling language) Homework Help
Uml(unified modeling language) Homework HelpUml(unified modeling language) Homework Help
Uml(unified modeling language) Homework Help
Steve Nash
 
Uml
UmlUml
Uml
UmlUml
Uml
parag
 
Uml introduciton
Uml introducitonUml introduciton
Uml introduciton
Dr. C.V. Suresh Babu
 
ooAD
ooADooAD
Uml overview modified
Uml overview modifiedUml overview modified
Uml overview modified
senthilkumar_ak
 
UML-Advanced Software Engineering
UML-Advanced Software EngineeringUML-Advanced Software Engineering
UML-Advanced Software Engineering
Amit Singh
 
Uml structural diagrams
Uml structural diagramsUml structural diagrams
Uml structural diagrams
Swathy T
 
Uml
UmlUml
Case Study Uml
Case Study UmlCase Study Uml
Case Study Uml
ganesh12july
 
Uml
UmlUml
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
surana college
 
UML-Basics-to-AI-Powered-UML-Course.pdf
UML-Basics-to-AI-Powered-UML-Course.pdfUML-Basics-to-AI-Powered-UML-Course.pdf
UML-Basics-to-AI-Powered-UML-Course.pdf
ssuser200e7a1
 

Similar to Uml with detail (20)

UML (Unified Modeling Language)
UML (Unified Modeling Language)UML (Unified Modeling Language)
UML (Unified Modeling Language)
 
Learn sqa process
Learn sqa processLearn sqa process
Learn sqa process
 
Uml.pptx
Uml.pptxUml.pptx
Uml.pptx
 
432
432432
432
 
UML
UMLUML
UML
 
Experiment no
Experiment noExperiment no
Experiment no
 
Introduction.pptx
Introduction.pptxIntroduction.pptx
Introduction.pptx
 
Uml(unified modeling language) Homework Help
Uml(unified modeling language) Homework HelpUml(unified modeling language) Homework Help
Uml(unified modeling language) Homework Help
 
Uml
UmlUml
Uml
 
Uml
UmlUml
Uml
 
Uml introduciton
Uml introducitonUml introduciton
Uml introduciton
 
ooAD
ooADooAD
ooAD
 
Uml overview modified
Uml overview modifiedUml overview modified
Uml overview modified
 
UML-Advanced Software Engineering
UML-Advanced Software EngineeringUML-Advanced Software Engineering
UML-Advanced Software Engineering
 
Uml structural diagrams
Uml structural diagramsUml structural diagrams
Uml structural diagrams
 
Uml
UmlUml
Uml
 
Case Study Uml
Case Study UmlCase Study Uml
Case Study Uml
 
Uml
UmlUml
Uml
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
 
UML-Basics-to-AI-Powered-UML-Course.pdf
UML-Basics-to-AI-Powered-UML-Course.pdfUML-Basics-to-AI-Powered-UML-Course.pdf
UML-Basics-to-AI-Powered-UML-Course.pdf
 

Recently uploaded

A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
nooriasukmaningtyas
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
Recycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part IIRecycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part II
Aditya Rajan Patra
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
171ticu
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
sachin chaurasia
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEMTIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
HODECEDSIET
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
IJNSA Journal
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
mahammadsalmanmech
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
Las Vegas Warehouse
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
camseq
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
abbyasa1014
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
rpskprasana
 

Recently uploaded (20)

A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
Recycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part IIRecycled Concrete Aggregate in Construction Part II
Recycled Concrete Aggregate in Construction Part II
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEMTIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
 

Uml with detail

  • 1. UML Prepared By: MUHAMMAD HAMZA KHAN
  • 2. What is UML?  UML stands for Unified Modeling Language  UML is a diagramming language designed for Object- Oriented programming  UML can be used to describe:  the organization of a program  how a program executes  how a program is used  how a program is deployed over a network  …and more
  • 3. Why we use UML?  Use graphical notation: more clearly than natural language (imprecise) and code (too detailed).  Help acquire an overall view of a system.  UML is not dependent on any one language or technology.  UML moves us from breakup to standardization.
  • 4. Types of UML  Class diagram  Component diagram  Development diagram  Object diagram  Package diagram  Profile diagram  Composite structure diagram  Use case diagram  Activity diagram  State machine diagram  Sequence diagram  Communication diagram  Interaction overview diagram  Timing diagram
  • 5. Structure & Behavioral diagrams  Structure diagrams show the things in a system being modeled.  In a more technical term they show different objects in a system.  Behavioral diagrams shows what should happen in a system.  They describe how the objects interact with each other to create a functioning system.
  • 6. Class Diagram  A class diagram shows classes, interfaces, and their relationships  It shows the classes in a system, attributes and operations of each class and the relationship between each class.  In most modeling tools a class has three parts, name at the top, attributes in the middle and operations or methods at the bottom Name of the class Variables [optional] Methods
  • 7. Component Diagram  A component diagram displays the structural relationship of components of a software system.  These are mostly used when working with complex systems that has many components.  Components communicate with each other using interfaces.
  • 8. Deployment Diagram  A deployment diagrams shows the hardware of your system and the software in those hardware.  Deployment diagrams are useful when your software solution is deployed across multiple machines with each having a unique configuration
  • 9. Object Diagram  Object Diagrams, sometimes referred as Instance diagrams are very similar to class diagrams.  As class diagrams they also show the relationship between objects but they use real world examples.  They are used to show how a system will look like at a given time.
  • 10. Package Diagram  As the name suggests a package diagrams shows the dependencies between different packages in a system.
  • 11. Profile Diagram  Profile diagram is a new diagram type introduced in UML 2.  This is a diagram type that is very rarely used in any specification.
  • 12. Composite Structure Diagram  Composite structure diagrams are used to show the internal structure of a class.
  • 13. Use Case Diagram  Use case diagrams gives a graphic overview of the actors involved in a system, different functions needed by those actors and how these different functions are interacted.  It’s a great starting point for any project discussion because you can easily identify the main actors involved and the main processes of the system.
  • 14. Activity Diagram  Activity diagrams represent workflows in an graphical way.  They can be used to describe business workflow or the operational workflow of any component in a system.  Sometimes activity diagrams are used as an alternative to State machine diagrams.
  • 15. State Machine Diagram  State 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 to describe the behavior of objects that act different according to the state they are at the moment
  • 16. Sequence Diagram  Sequence diagrams in UML shows how object interact with each other and the order those interactions occur.  It’s important to note that they show the interactions for a particular scenario.  The processes are represented vertically and interactions are show as arrows.
  • 17. Communication Diagram  Communication diagram was called collaboration diagram in UML 1.  It is similar to sequence diagrams but the focus is on messages passed between objects.  The same information can be represented using a sequence diagram and different objects.
  • 18. Interaction Overview Diagram  Interaction overview diagrams are very similar to activity diagrams.  While activity diagrams shows a sequence of processes Interaction overview diagrams shows a sequence of interaction diagrams.  In simple term they can be called a collection of interaction diagrams and the order they happen.
  • 19. Timing Diagram  Timing diagrams are very similar to sequence diagrams.  They represent the behavior of objects in a given time frame.  If its only one object the diagram is straight forward but if more then one objects are involved they can be used to show interactions of objects during that time frame as well.