UML Diagram Types Guide
UML Diagram Types Guide
Examples
UML stands for Unified Modeling Language. It’s a rich language to model software solutions, application
structures, system behavior and business processes. There are 14 UML diagram types to help you model
these behaviors.
Structure Diagrams
o Class Diagram
o Component Diagram
o Deployment Diagram
o Object Diagram
o Package Diagram
o Profile Diagram
o Composite Structure Diagram
Behavioral Diagrams
o Use Case Diagram
o Activity Diagram
o State Machine Diagram
o Sequence Diagram
o Communication Diagram
o Interaction Overview Diagram
o Timing Diagram
Structure diagrams show the things in the modeled system. In a more technical term, they show different
objects in a system. Behavioral diagrams show what should happen in a system. They describe how the
objects interact with each other to create a functioning system.
Class Diagram
Class diagrams are the main building block of any object-oriented solution. 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. In a large system with many related classes, classes are grouped together to create
class diagrams. Different relationships between classes are shown by different types of arrows.
Below is an image of a class diagram. Follow the link below for more class diagram examples or get started
instantly with our class diagram templates.
Click on the image to edit the above class diagram (opens in new window)
You can use this component diagram template by clicking on the image
They show how a system will look like at a given time. Because there is data available in the objects, they are
used to explain complex relationships between objects.
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. You can create use case diagrams using our tool and/or get started
instantly using our use case templates.
State Machine diagram in UML, sometimes referred to as State or State chart diagram
You can also instantly start drawing using our sequence diagram templates.
They are a collection of interaction diagrams and the order they happen. As mentioned before, there are seven
types of interaction diagrams, so any one of them can be a node in an interaction overview diagram.
Timing Diagram
Timing diagrams are very similar to sequence diagrams. They represent the behavior of objects in a given time
frame. If it’s only one object, the diagram is straightforward. But, if there is more than one object is involved, a
Timing diagram is used to show interactions between objects during that time frame.
Mentioned above are all the UML diagram types. UML offers many diagram types, and sometimes two
diagrams can explain the same thing using different notations.