SlideShare a Scribd company logo
1 of 22
UML Tutorial
UML Diagrams
UML, which stands for Unified
Modeling Language, is a
popular modeling language for
software engineers.
These professionals use it to
analyze, design, and implement
both business processes and
software-based systems.
UML Diagram Definition
• Before you begin a UML diagram, it's important to realize
that UML, as the name suggests, is a unifying language.
• The primary authors—Jim Rumbaugh, Ivar Jacobson, and
Grady Booch—combined their competing methods into a
single open standard for modeling computer applications.
• UML has the added benefit of being programming-
language independent, so any qualified person can use it.
UML Diagram Definition
• Remember that the UML notation set is a language, rather
than a methodology.
• This distinction allows companies to easily incorporate the
Unified Modeling Language into their existing business
processes without significant changes.
• Although UML is not a methodology, it provides several
diagram types that can be utilized within a methodology
to increase understanding.
UML Diagram Definition
• These diagrams offer a helpful introduction to UML and its
underlying principles. This tutorial will cover the main
diagram types.
• Standard UML diagrams consist of:
• Activity diagrams
• Use case diagrams
• Class diagrams
• Sequence diagrams
• Component diagrams
• Deployment diagrams
ACTIVITY DIAGRAMS
• Activity diagrams show the procedural flow of control
between class objects, along with organizational processes
like business workflows.
• These diagram are made of specialized shapes, then
connected with arrows. The notation set for activity
diagrams is similar to those for state diagrams.
ACTIVITY DIAGRAMS Cont’d
1. Begin your activity diagram with a solid circle.
2. Connect the circle to the first activity, which is modeled
with a round-edged rectangle.
3. Now, connect each activity to other activities with lines
that demonstrate the stepwise flow of the entire process.
4. You can also try using swimlanes to represent the
objects that perform each activity.
Activity Diagram
Example
USE CASE DIAGRAMS
• A use case is a list of steps that define interaction between an
actor (a human who interacts with the system or an external
system) and the system itself. Use case diagrams depict the
specifications of a use case and model the functional units of a
system.
• These diagrams help development teams understand the
requirements of their system, including the role of human
interaction therein and the differences between various use
cases.
• A use case diagram might display all use cases of the system,
or just one group of use cases with similar functionality.
Use Case
Diagram
Example
CLASS DIAGRAMS
• Class diagrams represent the static structures of a system,
including its classes, attributes, operations, and objects.
• A class diagram can display computational data or
organizational data in the form of implementation classes
and logical classes, respectively.
• There may be overlap between these two groups.
CLASS DIAGRAMS Cont’d
1. Classes are represented with a rectangular shape that is split
into thirds. The top section displays the class name, while
the middle section contains the class' attributes. The bottom
section features the class operations (also known as
methods).
2. Add class shapes to your class diagram to model the
relationship between those objects. You may need to add
subclasses, as well.
3. Use lines to represent association, inheritance, multiplicity,
and other relationships between classes and subclasses.
Your preferred notation style will inform the notation of
these lines.
Class Diagram Example
SEQUENCE DIAGRAMS
• Sequence diagrams, also known as event diagrams or
event scenarios, illustrate how processes interact with
each other by showing calls between different objects in a
sequence.
• These diagrams have two dimensions: vertical and
horizontal. The vertical lines show the sequence of
messages and calls in chronological order, and the
horizontal elements show object instances where the
messages are relayed.
SEQUENCE DIAGRAMS Cont’d
1. To create a sequence diagram, write the class instance
name and class name in a rectangular box.
2. Draw lines between class instances to represent the
sender and receiver of messages.
3. Use solid arrowheads to symbolize synchronous
messages, open arrowheads for asynchronous
messages, and dashed lines for reply messages.
Sequence
Diagram
Example
COMPONENT DIAGRAMS
• Component diagrams show how components are
combined to form larger components or software
systems. These diagrams are meant to model the
dependencies of each component in the system.
• A component is something required to execute a
stereotype function.
• A component stereotype may consist of executables,
documents, database tables, files, or library files.
COMPONENT DIAGRAMS Cont’d
1. Represent a component with a rectangle shape. It
should have two small rectangles on the side, or feature
an icon with this shape.
2. Add lines between component shapes to represent the
relevant relationships.
Component Diagram Example
DEPLOYMENT DIAGRAMS
A deployment diagram models the physical deployment
and structure of hardware components. Deployment
diagrams demonstrate where and how the components of a
system will operate in conjunction with each other.
1. When drawing a deployment diagram, use the same
notation that you use for a component diagram.
2. Use a 3-D cube to model a node (which represents a
physical machine or virtual machine).
3. Label the node in the same style that is used for
sequence diagrams. Add other nodes as needed, then
connect with lines.
Deployment
Diagram
Example
Resources
• See Lucid U for examples
and tutorials on UML
diagrams.
• Try the Lucidchart demo
for free!
Lucidchart was made to handle complex UML diagrams, include activity diagrams, class
diagrams, and use case diagrams. Use our application to make and share professional-
looking charts from the web.

More Related Content

What's hot

Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and DesignHaitham El-Ghareeb
 
Object Oriented Analysis Design using UML
Object Oriented Analysis Design using UMLObject Oriented Analysis Design using UML
Object Oriented Analysis Design using UMLAjit Nayak
 
Sequence diagram
Sequence diagramSequence diagram
Sequence diagramRahul Pola
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML DiagramsManish Kumar
 
Jdbc architecture and driver types ppt
Jdbc architecture and driver types pptJdbc architecture and driver types ppt
Jdbc architecture and driver types pptkamal kotecha
 
Uml class diagram and packages ppt for dot net
Uml class diagram and packages ppt for dot netUml class diagram and packages ppt for dot net
Uml class diagram and packages ppt for dot netmekhap
 
Package Diagram
Package DiagramPackage Diagram
Package DiagramWASI ALI
 
Collaboration diagram- UML diagram
Collaboration diagram- UML diagram Collaboration diagram- UML diagram
Collaboration diagram- UML diagram Ramakant Soni
 
Modules and modularization criteria
Modules and modularization criteriaModules and modularization criteria
Modules and modularization criteriaUmaselvi_R
 
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 UMLMalek Sumaiya
 
Class and object_diagram
Class  and object_diagramClass  and object_diagram
Class and object_diagramSadhana28
 
5.state diagrams
5.state diagrams5.state diagrams
5.state diagramsAPU
 
Uml package diagram
Uml package  diagramUml package  diagram
Uml package diagramVedaraj M
 
Object diagram
Object diagramObject diagram
Object diagramRahul Pola
 

What's hot (20)

Class diagram
Class diagramClass diagram
Class diagram
 
Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and Design
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented Design
 
Activity diagram
Activity diagramActivity diagram
Activity diagram
 
Object Oriented Analysis Design using UML
Object Oriented Analysis Design using UMLObject Oriented Analysis Design using UML
Object Oriented Analysis Design using UML
 
Cohesion and coupling
Cohesion and couplingCohesion and coupling
Cohesion and coupling
 
Sequence diagram
Sequence diagramSequence diagram
Sequence diagram
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
 
Jdbc architecture and driver types ppt
Jdbc architecture and driver types pptJdbc architecture and driver types ppt
Jdbc architecture and driver types ppt
 
Uml class diagram and packages ppt for dot net
Uml class diagram and packages ppt for dot netUml class diagram and packages ppt for dot net
Uml class diagram and packages ppt for dot net
 
Package Diagram
Package DiagramPackage Diagram
Package Diagram
 
Collaboration diagram- UML diagram
Collaboration diagram- UML diagram Collaboration diagram- UML diagram
Collaboration diagram- UML diagram
 
UML Diagrams
UML DiagramsUML Diagrams
UML Diagrams
 
Modules and modularization criteria
Modules and modularization criteriaModules and modularization criteria
Modules and modularization criteria
 
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
 
Class and object_diagram
Class  and object_diagramClass  and object_diagram
Class and object_diagram
 
Ooad ppt
Ooad pptOoad ppt
Ooad ppt
 
5.state diagrams
5.state diagrams5.state diagrams
5.state diagrams
 
Uml package diagram
Uml package  diagramUml package  diagram
Uml package diagram
 
Object diagram
Object diagramObject diagram
Object diagram
 

Similar to UML tutorial

UML-Advanced Software Engineering
UML-Advanced Software EngineeringUML-Advanced Software Engineering
UML-Advanced Software EngineeringAmit Singh
 
Modeling software with UML
Modeling software with UMLModeling software with UML
Modeling software with UML6020 peaks
 
An introduction to uml
An introduction to umlAn introduction to uml
An introduction to umlTony Huynh
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentationanasz3z3
 
Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfMeagGhn
 
8.Unified Process Modelling.ppt of software engg
8.Unified Process Modelling.ppt  of software engg8.Unified Process Modelling.ppt  of software engg
8.Unified Process Modelling.ppt of software enggSukhmanSingh91
 
Introduction to Rational Rose
Introduction to Rational RoseIntroduction to Rational Rose
Introduction to Rational RoseMunaam Munawar
 
UNIT-3 Design Using UML (1).pptx
UNIT-3 Design Using UML (1).pptxUNIT-3 Design Using UML (1).pptx
UNIT-3 Design Using UML (1).pptxviju001
 
Lect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPMLect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPMMubashir Ali
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagramsbarney92
 
CASE Tools lab.ppt
CASE Tools lab.pptCASE Tools lab.ppt
CASE Tools lab.pptRAJESH S
 

Similar to UML tutorial (20)

SMD Unit ii
SMD Unit iiSMD Unit ii
SMD Unit ii
 
UML-Advanced Software Engineering
UML-Advanced Software EngineeringUML-Advanced Software Engineering
UML-Advanced Software Engineering
 
Modeling software with UML
Modeling software with UMLModeling software with UML
Modeling software with UML
 
An introduction to uml
An introduction to umlAn introduction to uml
An introduction to uml
 
Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
 
Design UML diagrams
Design UML diagramsDesign UML diagrams
Design UML diagrams
 
Design UML diagrams
Design UML diagramsDesign UML diagrams
Design UML diagrams
 
Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdf
 
8.Unified Process Modelling.ppt of software engg
8.Unified Process Modelling.ppt  of software engg8.Unified Process Modelling.ppt  of software engg
8.Unified Process Modelling.ppt of software engg
 
Introduction to Rational Rose
Introduction to Rational RoseIntroduction to Rational Rose
Introduction to Rational Rose
 
UNIT-3 Design Using UML (1).pptx
UNIT-3 Design Using UML (1).pptxUNIT-3 Design Using UML (1).pptx
UNIT-3 Design Using UML (1).pptx
 
Case stydy cs701
Case stydy cs701 Case stydy cs701
Case stydy cs701
 
OOM Unit I - III.pdf
OOM Unit I - III.pdfOOM Unit I - III.pdf
OOM Unit I - III.pdf
 
Case Study Uml
Case Study UmlCase Study Uml
Case Study Uml
 
Types of UML diagrams
Types of UML diagramsTypes of UML diagrams
Types of UML diagrams
 
Lect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPMLect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPM
 
Object oriented analysis and design unit- iv
Object oriented analysis and design unit- ivObject oriented analysis and design unit- iv
Object oriented analysis and design unit- iv
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
 
Uml Diagrams
Uml DiagramsUml Diagrams
Uml Diagrams
 
CASE Tools lab.ppt
CASE Tools lab.pptCASE Tools lab.ppt
CASE Tools lab.ppt
 

Recently uploaded

VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130  Available With RoomVIP Kolkata Call Girl Howrah 👉 8250192130  Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Roomdivyansh0kumar0
 
Catalogue ONG NUOC PPR DE NHAT .pdf
Catalogue ONG NUOC PPR DE NHAT      .pdfCatalogue ONG NUOC PPR DE NHAT      .pdf
Catalogue ONG NUOC PPR DE NHAT .pdfOrient Homes
 
Lowrate Call Girls In Laxmi Nagar Delhi ❤️8860477959 Escorts 100% Genuine Ser...
Lowrate Call Girls In Laxmi Nagar Delhi ❤️8860477959 Escorts 100% Genuine Ser...Lowrate Call Girls In Laxmi Nagar Delhi ❤️8860477959 Escorts 100% Genuine Ser...
Lowrate Call Girls In Laxmi Nagar Delhi ❤️8860477959 Escorts 100% Genuine Ser...lizamodels9
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfPaul Menig
 
Vip Female Escorts Noida 9711199171 Greater Noida Escorts Service
Vip Female Escorts Noida 9711199171 Greater Noida Escorts ServiceVip Female Escorts Noida 9711199171 Greater Noida Escorts Service
Vip Female Escorts Noida 9711199171 Greater Noida Escorts Serviceankitnayak356677
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMANIlamathiKannappan
 
rishikeshgirls.in- Rishikesh call girl.pdf
rishikeshgirls.in- Rishikesh call girl.pdfrishikeshgirls.in- Rishikesh call girl.pdf
rishikeshgirls.in- Rishikesh call girl.pdfmuskan1121w
 
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service PuneVIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service PuneCall girls in Ahmedabad High profile
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation SlidesKeppelCorporation
 
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,noida100girls
 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst SummitHolger Mueller
 
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,noida100girls
 
GD Birla and his contribution in management
GD Birla and his contribution in managementGD Birla and his contribution in management
GD Birla and his contribution in managementchhavia330
 
7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...Paul Menig
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMRavindra Nath Shukla
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...lizamodels9
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear RegressionRavindra Nath Shukla
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...anilsa9823
 
Eni 2024 1Q Results - 24.04.24 business.
Eni 2024 1Q Results - 24.04.24 business.Eni 2024 1Q Results - 24.04.24 business.
Eni 2024 1Q Results - 24.04.24 business.Eni
 

Recently uploaded (20)

VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130  Available With RoomVIP Kolkata Call Girl Howrah 👉 8250192130  Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Room
 
Catalogue ONG NUOC PPR DE NHAT .pdf
Catalogue ONG NUOC PPR DE NHAT      .pdfCatalogue ONG NUOC PPR DE NHAT      .pdf
Catalogue ONG NUOC PPR DE NHAT .pdf
 
Lowrate Call Girls In Laxmi Nagar Delhi ❤️8860477959 Escorts 100% Genuine Ser...
Lowrate Call Girls In Laxmi Nagar Delhi ❤️8860477959 Escorts 100% Genuine Ser...Lowrate Call Girls In Laxmi Nagar Delhi ❤️8860477959 Escorts 100% Genuine Ser...
Lowrate Call Girls In Laxmi Nagar Delhi ❤️8860477959 Escorts 100% Genuine Ser...
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdf
 
Vip Female Escorts Noida 9711199171 Greater Noida Escorts Service
Vip Female Escorts Noida 9711199171 Greater Noida Escorts ServiceVip Female Escorts Noida 9711199171 Greater Noida Escorts Service
Vip Female Escorts Noida 9711199171 Greater Noida Escorts Service
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMAN
 
rishikeshgirls.in- Rishikesh call girl.pdf
rishikeshgirls.in- Rishikesh call girl.pdfrishikeshgirls.in- Rishikesh call girl.pdf
rishikeshgirls.in- Rishikesh call girl.pdf
 
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service PuneVIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
 
KestrelPro Flyer Japan IT Week 2024 (English)
KestrelPro Flyer Japan IT Week 2024 (English)KestrelPro Flyer Japan IT Week 2024 (English)
KestrelPro Flyer Japan IT Week 2024 (English)
 
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst Summit
 
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
 
GD Birla and his contribution in management
GD Birla and his contribution in managementGD Birla and his contribution in management
GD Birla and his contribution in management
 
7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSM
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear Regression
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
 
Eni 2024 1Q Results - 24.04.24 business.
Eni 2024 1Q Results - 24.04.24 business.Eni 2024 1Q Results - 24.04.24 business.
Eni 2024 1Q Results - 24.04.24 business.
 

UML tutorial

  • 2. UML Diagrams UML, which stands for Unified Modeling Language, is a popular modeling language for software engineers. These professionals use it to analyze, design, and implement both business processes and software-based systems.
  • 3. UML Diagram Definition • Before you begin a UML diagram, it's important to realize that UML, as the name suggests, is a unifying language. • The primary authors—Jim Rumbaugh, Ivar Jacobson, and Grady Booch—combined their competing methods into a single open standard for modeling computer applications. • UML has the added benefit of being programming- language independent, so any qualified person can use it.
  • 4. UML Diagram Definition • Remember that the UML notation set is a language, rather than a methodology. • This distinction allows companies to easily incorporate the Unified Modeling Language into their existing business processes without significant changes. • Although UML is not a methodology, it provides several diagram types that can be utilized within a methodology to increase understanding.
  • 5. UML Diagram Definition • These diagrams offer a helpful introduction to UML and its underlying principles. This tutorial will cover the main diagram types. • Standard UML diagrams consist of: • Activity diagrams • Use case diagrams • Class diagrams • Sequence diagrams • Component diagrams • Deployment diagrams
  • 6. ACTIVITY DIAGRAMS • Activity diagrams show the procedural flow of control between class objects, along with organizational processes like business workflows. • These diagram are made of specialized shapes, then connected with arrows. The notation set for activity diagrams is similar to those for state diagrams.
  • 7. ACTIVITY DIAGRAMS Cont’d 1. Begin your activity diagram with a solid circle. 2. Connect the circle to the first activity, which is modeled with a round-edged rectangle. 3. Now, connect each activity to other activities with lines that demonstrate the stepwise flow of the entire process. 4. You can also try using swimlanes to represent the objects that perform each activity.
  • 9. USE CASE DIAGRAMS • A use case is a list of steps that define interaction between an actor (a human who interacts with the system or an external system) and the system itself. Use case diagrams depict the specifications of a use case and model the functional units of a system. • These diagrams help development teams understand the requirements of their system, including the role of human interaction therein and the differences between various use cases. • A use case diagram might display all use cases of the system, or just one group of use cases with similar functionality.
  • 11. CLASS DIAGRAMS • Class diagrams represent the static structures of a system, including its classes, attributes, operations, and objects. • A class diagram can display computational data or organizational data in the form of implementation classes and logical classes, respectively. • There may be overlap between these two groups.
  • 12. CLASS DIAGRAMS Cont’d 1. Classes are represented with a rectangular shape that is split into thirds. The top section displays the class name, while the middle section contains the class' attributes. The bottom section features the class operations (also known as methods). 2. Add class shapes to your class diagram to model the relationship between those objects. You may need to add subclasses, as well. 3. Use lines to represent association, inheritance, multiplicity, and other relationships between classes and subclasses. Your preferred notation style will inform the notation of these lines.
  • 14. SEQUENCE DIAGRAMS • Sequence diagrams, also known as event diagrams or event scenarios, illustrate how processes interact with each other by showing calls between different objects in a sequence. • These diagrams have two dimensions: vertical and horizontal. The vertical lines show the sequence of messages and calls in chronological order, and the horizontal elements show object instances where the messages are relayed.
  • 15. SEQUENCE DIAGRAMS Cont’d 1. To create a sequence diagram, write the class instance name and class name in a rectangular box. 2. Draw lines between class instances to represent the sender and receiver of messages. 3. Use solid arrowheads to symbolize synchronous messages, open arrowheads for asynchronous messages, and dashed lines for reply messages.
  • 17. COMPONENT DIAGRAMS • Component diagrams show how components are combined to form larger components or software systems. These diagrams are meant to model the dependencies of each component in the system. • A component is something required to execute a stereotype function. • A component stereotype may consist of executables, documents, database tables, files, or library files.
  • 18. COMPONENT DIAGRAMS Cont’d 1. Represent a component with a rectangle shape. It should have two small rectangles on the side, or feature an icon with this shape. 2. Add lines between component shapes to represent the relevant relationships.
  • 20. DEPLOYMENT DIAGRAMS A deployment diagram models the physical deployment and structure of hardware components. Deployment diagrams demonstrate where and how the components of a system will operate in conjunction with each other. 1. When drawing a deployment diagram, use the same notation that you use for a component diagram. 2. Use a 3-D cube to model a node (which represents a physical machine or virtual machine). 3. Label the node in the same style that is used for sequence diagrams. Add other nodes as needed, then connect with lines.
  • 22. Resources • See Lucid U for examples and tutorials on UML diagrams. • Try the Lucidchart demo for free! Lucidchart was made to handle complex UML diagrams, include activity diagrams, class diagrams, and use case diagrams. Use our application to make and share professional- looking charts from the web.