EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Free Courses
  • Certification Courses
  • 600+ Courses All in One Bundle
  • Login
Home Software Development Software Development Tutorials Software Engineering Tutorial Types of UML Diagrams
Secondary Sidebar
Software Engineering Tutorial
  • UML Daigram
    • StarUML
    • Architecture of UML
    • StarUML? Download
    • Types of UML Diagrams
    • UML Activity Diagram
    • UML Component?Diagram
    • UML Deployment Diagram
    • UML Diagram Softwares
    • UML Object?Diagram
    • UML Sequence Diagram
    • UML Use Case Diagram
    • State Diagram
    • Class Diagram
    • UML Dependency
    • UML Interaction Diagrams
    • Data Flow Diagrams
  • Basic
    • What is Software Engineering?
    • What is SDET
    • What Is SDLC
    • SDLC Methodologies
    • Software Classification
    • Software Design
    • Software Design Principles
    • Software Metrics
    • Utility Software Types
    • UI Design Tools
    • User Interface Design Principles
    • Architectural Design in Software Engineering
    • Software Configuration Management
    • Software Configuration Management Tools
    • What is Risk Management?
    • System Engineering
    • Object oriented programming paradigm
    • CASE Tools
  • Models
    • Prototype Model
    • What is Spiral Model
    • Waterfall?Model
    • Prototyping Tools
    • Incremental Model
    • Iterative Model
    • RAD Model
    • Fish Model
    • What is Scrum Methodology?
    • RUP? Methodology
    • COCOMO Model
    • Big Bang Model
    • System Models
    • People Capability Maturity Model
    • Analysis Modeling
    • User Interface Design
    • Capability Maturity Model Integration
    • What is Agile Development?
    • Agile Model Advantages and Disadvantages
    • Agile Process Model
    • Rational Unified Process
  • Advanced
    • Functional Point Analysis
    • Software Quality Control
    • Quality Assurance Tools
    • Prototype model advantages and disadvantages
    • UML Modelling Tools
    • Tomcat Server
    • Quality Software
    • UI Prototyping
    • Hybrid Model
    • Behavioral Model in Software Engineering
    • Flowchart symbols
    • Critical System
    • Legacy System
    • SOA Architecture
    • Software Quality Attributes
    • Software Maintenance
    • Software Cost Estimation
    • Software Inspection
    • Cohesion in Software Engineering
    • Coupling in Software Engineering
    • Component-based Software Engineering
    • Design Modeling in Software Engineering
    • Iterative Methodology
    • System Flow Diagram
    • Data Flow Architecture
    • SEICMM
    • Function Oriented Design
  • Interview Questions
    • Software Engineering Interview Questions
    • SDLC Interview Questions

Related Courses

Software Testing Course

Cyber Security Training

Software Development Course Training

Types of UML Diagrams

By Priya PedamkarPriya Pedamkar

Types of UML Diagrams

Introduction to UML Diagrams

UML provides various types of diagram to represent the working of the system or software in pictorial format that can be categorized based on two factors, one is a structural diagram and another is behavioral diagram. structural diagram represents the static aspect of the system which includes UML class diagram, UML object diagram, UML component diagram, and UML deployment diagram. The behavioral diagram represents both static and dynamic aspect of the system which includes UML sequence diagram, UML use case diagram, UML activity diagram, UML Collaboration diagram and UML statechart diagram.

Different types of UML Diagrams

There exist many types of UML diagrams and each has a different purpose without considering if it was designed either before the implementation or after the implementation.

2 of the widest categories which covers all the other types are

  • Behavioral UML Diagram
  • StructuralUML Diagram.

As you can guess from the name only, some of the UML diagrams analyze as well as depict the structure of a process, while another one describes the behavior of the system, its building components, and also its actors. The further categorized types are as follows:

Start Your Free Software Development Course

Web development, programming languages, Software testing & others

Structural UML Diagram

  • Class Diagram
  • Object Diagram
  • Component Diagram
  • Composite Structure Diagram
  • Deployment Diagram
  • Package Diagram
  • Profile Diagram

Behavioral UML Diagram

  • Activity Diagram
  • Use Case Diagram
  • Interaction Overview Diagram
  • Timing Diagram
  • State Machine Diagram
  • Communication Diagram
  • Sequence Diagram

Let us discuss them in brief now :

All in One Software Development Bundle(600+ Courses, 50+ projects)
Python TutorialC SharpJavaJavaScript
C Plus PlusSoftware TestingSQLKali Linux
Price
View Courses
600+ Online Courses | 50+ projects | 3000+ Hours | Verifiable Certificates | Lifetime Access
4.6 (86,629 ratings)
1. Activity Diagram

The activity diagram is the most important UML diagram that is used for performing business process modeling. It is basically used to explain the flow of various activities as well as actions in software development. Also, these can be both sequential and also parallel.

2. Use Case Diagram

Use Case diagrams are essentially needed to analyze high-level requirements of the system. Now, these requirements can be expressed with the help of different use cases.

3. Interaction Overview Diagram

It is the one that has ability to picture control flow along with nodes that contain interaction diagrams. It is the same as the activity diagram in the sense that both of them visualize the sequence of activities.

4. Timing Diagram

These diagrams are basically needed in order to represent relations between objects whenever the center of attention is resting on time. However, even though we aren’t interested to know how do objects interact or even change each other, despite we wish to represent how to do these objects as well as actors would act along a time axis that is linear.

5. State Machine UML Diagram

State machine UML diagrams are also called State chart diagrams. They are mostly used to explain different states of a component within the system. State machine UML diagrams take the name state machine since the diagram is basically machine only which explains the several states of an object and also how it alters depending upon internal and external events.

6. Communication Diagram

Communication diagrams just like the sequence diagrams are kind of interaction diagram demonstrating how the objects interact. It is an extension of an object diagram that shows objects with messages which travel from one to another.

7. Sequence UML Diagram

Sequence UML diagrams can also be considered the most important UML diagrams among design-level models for the development of a business application. Since they possess visually self-explanatory nature, lately, these diagrams have become quite popular in the prediction of business processes.

8. Class Diagram

Class UML diagram can also be considered as the most common diagram type needed for software documentation. As most of the software being created today are still based upon the OOP paradigm, so if we use class diagrams in order to document these software turns out to be a common-sense solution. This also occurs since OOP depends upon classes and the relations.

9. Object Diagram

Object UML diagrams help developers in checking if the generic abstract structure which they have created, that is, class diagram, is representing viable structure whenever it is put into practice, that is, when the objects of a class are being instantiated. However, few developers look towards it as a secondary level of accuracy checking.

10. Component Diagram

Component UML diagrams can help in breaking down the system into smaller components whenever you are dealing with the documentation of quite complex systems. Often it is quite hard to predict the architecture of a system since it might be encompassing various departments or also it might be employing different technologies.

11. Composite Structure Diagram

A Composite structure diagram is considered a type of static diagram showing the internal structure of the class as well as collaborations. It is a set of interconnected elements.

12. Deployment Diagram

Next, Deployment diagrams are generally used in visualizing the relationship between the software and the hardware. If we talk more specifically, then with help of deployment diagrams we can also construct a physical model of how artifacts are deployed on nodes which are hardware components.

If we talk about a typical simplified deployment diagram in a web application, it would include:

  • Nodes, that is, application server and database server
  • Artifacts, that is, application client and database schema
13. Package Diagram

The package diagram seems more like a macro container required for deployment UML diagrams that we have already explained. Now, different packages contain nodes and also artifacts. They organize the components and model diagrams into groups in the same manner as a namespace would encapsulate different names that are in some manner quite correlated.

14. Profile Diagram

Profile diagrams cannot be considered as the typical UML diagram type. Despite, it can be considered more like an extensibility mechanism and not a diagram type like any other.

If we use stereotypes, constraints, and tagged values, we can easily extend as well as customize already existing notations of UML. Profile diagrams, however, are like a language. For example,  if you speak English you can easily create new sentences. In a similar way, if you speak profile diagrams, then you can easily and specifically create new properties as well as semantics for UML diagrams.

Conclusion

Thus, UML diagrams are useful whenever we are modeling business data. Class attributes map to abstract access methods for persistent fields, and association roles map to abstract access methods for relationship fields. Navigability predicts if relationship access methods appear in both related entity beans or just one. Further, multiplicity notation determines the correct type for relationship fields, issues of a life cycle, and also cascading delete characteristics.

Recommended Articles

This is a guide to types of UML diagrams. Here we discuss the basic concepts with widest categories of UML diagram. You can also go through our other suggested articles to learn more –

  1. What is C++
  2. What is JavaScript?
  3. What is PHP Array?
  4. UML Interaction Diagrams
Popular Course in this category
All in One Software Development Bundle (600+ Courses, 50+ projects)
  600+ Online Courses |  3000+ Hours |  Verifiable Certificates |  Lifetime Access
4.6
Price

View Course

Related Courses

Software Testing Training (11 Courses, 2 Projects)4.9
Cyber Security Training (10 Courses, 3 Projects)4.8
0 Shares
Share
Tweet
Share
Primary Sidebar
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Live Classes
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Java Tutorials
  • Python Tutorials
  • All Tutorials
Certification Courses
  • All Courses
  • Software Development Course - All in One Bundle
  • Become a Python Developer
  • Java Course
  • Become a Selenium Automation Tester
  • Become an IoT Developer
  • ASP.NET Course
  • VB.NET Course
  • PHP Course

ISO 10004:2018 & ISO 9001:2015 Certified

© 2022 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA
Free Software Development Course

C# Programming, Conditional Constructs, Loops, Arrays, OOPS Concept

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA Login

Forgot Password?

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA
Free Software Development Course

Web development, programming languages, Software testing & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

Let’s Get Started

By signing up, you agree to our Terms of Use and Privacy Policy.

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more