---
description: What is a model? A Model is an abstraction of something to understand it before building it. As modeling omits unimportant details, it is easier to manipulate than the original entity. A model means o
title: "UML Notation Tutorial: UML Diagram Symbol with Examples"
image: https://www.guru99.com/images/uml-notation-tutorial.png
---

[Skip to content](#main)

**⚡ Smart Summary**

UML Notation and diagram symbols provide a standard visual vocabulary for modeling software systems. This resource explains the three building blocks of UML—things, relationships, and diagrams—and shows the exact symbol used for each structural, behavioral, and interaction element.

- 🧱 **Building Blocks:** UML is built from three categories—things, relationships, and diagrams—that together form one complete model.
- 📦 **Structural Things:** Classes, objects, interfaces, components, and nodes represent the static, visible parts of a system.
- 🔄 **Behavioral Things:** State machines, activity diagrams, and interaction diagrams capture the dynamic behavior of a system.
- 🔗 **Relationships:** Association, dependency, generalization, and realization define how elements connect and depend on each other.
- 🗂️ **Diagram Families:** Structural, behavioral, and interaction diagrams each model a different view of the same system.

Read More

![UML Notation Tutorial](https://www.guru99.com/images/uml-notation-tutorial.png)

## What is a model?

A **Model** is an abstraction of something to understand it before building it. As modeling omits unimportant details, it is easier to manipulate than the original entity. A model means organizing something with a particular purpose.

A **model** is a simplification of reality.

A model may provide:

- Blueprint of system
- Organization of the system
- Dynamic of the system

## UML Building Blocks

UML stands for unified modeling language which revolves around various blocks to generate a single model. Building blocks are the things required to develop one full UML model diagram. It is an essential part of every UML diagram. Following are the basic building blocks of UML:

1. Things
2. Relationships
3. Diagrams

Let us study in depth the building blocks and UML diagram symbols.

## Things

A thing can be described as any real-world entity or an object. Things are divided into various categories in UML as follows,

- Structural things
- Behavioral things
- Grouping things
- Annotational things

### Structural things

A structural thing is used to describe the static part of a model. It is used to represent the things that are visible to human eyes. Structural things in UML are all about the physical part of a system. It is the noun of a UML model, such as a class, object, interface, collaboration, use case, component, and a node.

Let us explain the Structural Things used in UML:

**Class:**

A class is used to represent various objects. It is used to define the properties and operations of an object. In UML, we can also represent an abstract class. A class whose functionalities are not defined is called an abstract class. Any [UML class diagram](https://www.guru99.com/uml-class-diagram.html) notations are generally expressed as below UML class diagrams example,

[![UML Class Symbol]()](https://www.guru99.com/images/1/041519_1219_UMLNotation1.png)

*UML Class Symbol*

An object is an entity which is used to describe the behavior and functions of a system. The class and object have the same notations. The only difference is that an object name is always underlined in UML.

The UML notation of any object is given below.

[![UML Object Symbol]()](https://www.guru99.com/images/1/041519_1219_UMLNotation2.png)

*UML Object Symbol*

**Interface:**

An interface is similar to a template without implementation details. A circle notation represents it. When a class implements an interface, its functionality is also implemented.

[![UML Interface Symbol]()](https://www.guru99.com/images/1/041519_1219_UMLNotation3.png)

*UML Interface Symbol*

**Collaboration:**

It is represented by a dotted ellipse with a name written inside it.

[![UML Collaboration Notation]()](https://www.guru99.com/images/1/041519_1219_UMLNotation4.png)

*UML Collaboration Notation*

**Use-case:**

Use-cases are one of the core concepts of object-oriented modeling. They are used to represent high-level functionalities and how the user will handle the system.

[![UML Use Case]()](https://www.guru99.com/images/1/041519_1219_UMLNotation5.png)

*UML Use Case*

**Actor:**

It is used inside use case diagrams. The Actor notation is used to denote an entity that interacts with the system. A user is the best example of an actor. The actor notation in UML is given below.

[![UML Actor]()](https://www.guru99.com/images/1/041519_1219_UMLNotation6.png)

*UML Actor*

**Component:**

A component notation is used to represent a part of the system. It is denoted in UML like given below,

[![UML Component]()](https://www.guru99.com/images/1/041519_1219_UMLNotation7.png)

*UML Component*

**Node:**

A node is used to describe the physical part of a system. A node can be used to represent a network, server, routers, etc. Its notation is given below.

[![UML Node]()](https://www.guru99.com/images/1/041519_1219_UMLNotation8.png)

*UML Node*

**Deployment diagram:**

It represents the physical hardware on which system is installed. A deployment diagram represents the physical view of a system. It denotes the communication and interaction between various parts of the system.

A deployment diagram consists of the following notations:

1. A node
2. A component
3. An artifact
4. An interface

[![UML Deployment Diagram]()](https://www.guru99.com/images/1/041519_1219_UMLNotation9.png)

*Deployment Diagram*

**Don't Miss:**

- [UML Class Diagram: Abstract Class with Examples](https://www.guru99.com/uml-class-diagram.html)
- [What is Object Diagram in UML? Learn with Example](https://www.guru99.com/uml-object-diagram.html)
- [8 Best FREE UML Diagram Tools & Software (2026)](https://www.guru99.com/best-uml-tools.html)
- [UML Use Case Diagram: Tutorial with EXAMPLE](https://www.guru99.com/use-case-diagrams-example.html)

### Behavioral things

They are the **verbs** of a UML model, such as interactions, activities and state machines. Behavioral things in UML are used to represent the behavior of a system.

Behavioral things consist of:

**State machine:**

It used to describe various states of a single component throughout the [software development life cycle](https://www.guru99.com/software-development-life-cycle-tutorial.html). It is used to capture different states of a system component.

[![UML State Machine]()](https://www.guru99.com/images/1/041519_1219_UMLNotation10.png)

*State Machine*

**Activity diagram:**

An activity diagram is used to represent various activities carried out by different components of a system. It is denoted the same as that of the state machine diagram.

Activity diagram mainly contains initial state, final state, a decision box, and an action notation.

[![UML Activity Diagram]()](https://www.guru99.com/images/1/041519_1219_UMLNotation11.png)

*Activity Diagram*

**Interaction diagram:**

Interaction diagrams are used to visualize the message flow between various components of a system.

- Sequence diagram: A sequence diagram shows interactions between one or more lifelines within real time.

The notation of a sequence diagram is given below,

[![UML Interaction Diagram]()](https://www.guru99.com/images/1/041519_1219_UMLNotation12.png)

*Interaction Diagram*

### Grouping things

It is the package which is used to group semantically related modeling elements into a single cohesive unit. The package is the only grouping thing available in the UML.

[![UML Package]()](https://www.guru99.com/images/1/041519_1219_UMLNotation13.png)

*UML Package*

### Annotational things

It is like a note, which may be written to the model to capture some vital information. It is similar to the yellow sticky note. Here is an example for annotation things in UML:

[![UML Annotation]()](https://www.guru99.com/images/1/041519_1219_UMLNotation14.png)

*UML Annotation*

## Relationships

The relationship allows you to show on a model how two or more things relate to each other. The relationship in UML will enable you to capture meaningful connections between things. It shows how each element is associated with each other and how this association describes the functionality of an application.

Relationships in UML are categorized as follows,

- Association relationship
- Dependency relationship
- Generalization relationship
- Realization relationship

### Association relationship

It is a set of links that connect elements of the UML model. It also defines how many objects are taking part in that relation. It illustrates how many elements are participating in a particular interaction.

It is denoted as a dotted line with arrowheads on both sides. Both the sides contain an element which describes the relationship. A new term multiplicity is introduced that tells us how many objects of a particular element are associated.

Association relationship is denoted as follows,

[![UML Association Relationship]()](https://www.guru99.com/images/1/041519_1219_UMLNotation15.png)

*UML Association Relationship*

### Dependency relationship

In this kind of a relationship, the source element is dependent upon the target element and may be affected by changes to it. It is one of the most important notations of UML. It defines the direction of a dependency from one object to another.

It is denoted by a dotted line with an arrow at one side.

Dependency relationship is denoted as follows,

[![UML Dependency Relationship]()](https://www.guru99.com/images/1/041519_1219_UMLNotation16.png)

*UML Dependency Relationship*

### Generalization relationship

It is also called as a parent-child relationship. It is a relationship between a general thing and a more specific kind of a thing. This type of relationship is used to represent the inheritance concept.

It is denoted by a straight line with a hollow arrowhead at one side.

Generalization relationship is denoted as follows,

[![UML Generalization Relationship]()](https://www.guru99.com/images/1/041519_1219_UMLNotation17.png)

*UML Generalization Relationship*

### Realization relationship

In this, one element describes some responsibility which is not implemented and the other elements implement the functionality mentioned by the first element. Realization relationship is widely used while denoting **interfaces**.

It is denoted as a dotted line with a hollow arrowhead at one end.

Realization relationship is denoted as follows:

[![UML Realization Relationship]()](https://www.guru99.com/images/1/041519_1219_UMLNotation18.png)

*UML Realization Relationship*

## Diagrams

[UML diagrams](https://www.guru99.com/uml-diagrams.html) are divided into three different categories such as,

1. Structural diagram
2. Behavioral diagram
3. Interaction diagram

### Structural diagrams

Structural diagrams are used to represent a static view of a system. It represents a part of a system that makes up the structure of a system. A structural diagram shows various objects within the system.

Following are the various structural diagrams in UML:

- Class diagram
- Object diagram
- Package diagram
- Component diagram
- Deployment diagram

### Behavioral diagrams

Any real-world system can be represented in either a static form or a dynamic form. A system is said to be complete if it is expressed in both the static and dynamic ways. The behavioral diagram represents the functioning of a system.

UML diagrams that deals with the static part of a system are called structural diagrams. UML diagrams that deals with the moving or dynamic parts of the system are called behavioral diagrams.

Following are the various behavioral diagrams in UML:

- Activity diagram
- Use case diagram
- State machine diagram

### Interaction diagrams

Interaction diagram is nothing but a subset of behavioral diagrams. It is used to visualize the flow between various use case elements of a system. Interaction diagrams are used to show an interaction between two entities and how data flows within them.

Following are the various interaction diagrams in UML:

- Timing diagram
- Sequence diagram
- Collaboration diagram

## FAQs

📅 What is the difference between UML 1.x and UML 2.x notation?

UML 2.x expanded the original UML 1.x with additional diagram types, such as timing and interaction overview diagrams, and refined notation for components and structured classifiers. UML 2.x is the version most modeling tools support today.

🏛️ Who created UML and which body maintains it?

UML was created by Grady Booch, James Rumbaugh, and Ivar Jacobson at Rational Software in the 1990s. The Object Management Group (OMG) now maintains the standard and publishes its official specification.

🧭 What are stereotypes in UML notation?

A stereotype extends UML vocabulary by giving an existing element a new meaning, shown inside guillemets such as «interface» or «entity». Stereotypes let teams adapt standard notation to a specific domain without inventing new symbols.

🤖 How can AI help you learn or generate UML notation?

AI tutoring tools can explain each UML symbol, quiz you on notation, and describe when to use a class, component, or state machine. This gives beginners quick, interactive feedback while they practice reading and drawing diagrams.

🤖 Can AI convert source code into UML diagrams automatically?

Yes. Reverse-engineering and AI-assisted tools can scan source code and generate class, component, or sequence diagrams automatically. The generated notation still needs review, because AI may miss design intent or misread complex relationships.

#### Summarize this post with:

ChatGPTPerplexityGrokGoogle AI

**Stay Updated on AI** **Get Weekly AI Skills, Trends, Actionable Advice.**

##### Sign up for the newsletter

Subscribe for Free

You have successfully subscribed.  
Please check your inbox.

![AI-Newsletter]() Chosen by over **350,000+** professionals

[Scroll to top](#wrapper)

×

Search for:

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.guru99.com/#organization","name":"Guru99","sameAs":["https://www.facebook.com/Guru99Official","https://twitter.com/guru99com"],"logo":{"@type":"ImageObject","@id":"https://www.guru99.com/#logo","url":"https://www.guru99.com/images/guru99-logo-v1-150x59.png","contentUrl":"https://www.guru99.com/images/guru99-logo-v1-150x59.png","caption":"Guru99","inLanguage":"en-US"}},{"@type":"WebSite","@id":"https://www.guru99.com/#website","url":"https://www.guru99.com","name":"Guru99","publisher":{"@id":"https://www.guru99.com/#organization"},"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https://www.guru99.com/images/uml-notation-tutorial.png","url":"https://www.guru99.com/images/uml-notation-tutorial.png","width":"700","height":"250","caption":"UML Notation Tutorial","inLanguage":"en-US"},{"@type":"BreadcrumbList","@id":"https://www.guru99.com/uml-notation-symbol.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":"1","item":{"@id":"https://www.guru99.com","name":"Home"}},{"@type":"ListItem","position":"2","item":{"@id":"https://www.guru99.com/uml","name":"UML"}},{"@type":"ListItem","position":"3","item":{"@id":"https://www.guru99.com/uml-notation-symbol.html","name":"UML Notation Tutorial: UML Diagram Symbol with Examples"}}]},{"@type":"WebPage","@id":"https://www.guru99.com/uml-notation-symbol.html#webpage","url":"https://www.guru99.com/uml-notation-symbol.html","name":"UML Notation Tutorial: UML Diagram Symbol with Examples","dateModified":"2026-10-08T17:32:14+05:30","isPartOf":{"@id":"https://www.guru99.com/#website"},"primaryImageOfPage":{"@id":"https://www.guru99.com/images/uml-notation-tutorial.png"},"inLanguage":"en-US","breadcrumb":{"@id":"https://www.guru99.com/uml-notation-symbol.html#breadcrumb"}},{"@type":"Person","@id":"https://www.guru99.com/author/editorial","name":"Editorial Team","url":"https://www.guru99.com/author/editorial","image":{"@type":"ImageObject","@id":"https://www.guru99.com/images/favicon-new-logo.png","url":"https://www.guru99.com/images/favicon-new-logo.png","caption":"Editorial Team","inLanguage":"en-US"},"sameAs":["https://www.guru99.com/editorial-team"],"worksFor":{"@id":"https://www.guru99.com/#organization"}},{"articleSection":"UML","headline":"UML Notation Tutorial: UML Diagram Symbol with Examples","description":"What is a model? A Model is an abstraction of something to understand it before building it. As modeling omits unimportant details, it is easier to manipulate than the original entity. A model means o","keywords":"uml, programming","speakable":{"@type":"SpeakableSpecification","cssSelector":[".entry-title",".summary"]},"@type":"Article","author":{"@id":"https://www.guru99.com/author/editorial","name":"Editorial Team"},"dateModified":"2026-10-08T17:32:14+05:30","image":{"@id":"https://www.guru99.com/images/uml-notation-tutorial.png"},"copyrightYear":"2026","name":"UML Notation Tutorial: UML Diagram Symbol with Examples","subjectOf":[{"@type":"FAQPage","mainEntity":[{"@type":"Question","name":"What is the difference between UML 1.x and UML 2.x notation?","acceptedAnswer":{"@type":"Answer","text":"UML 2.x expanded the original UML 1.x with additional diagram types, such as timing and interaction overview diagrams, and refined notation for components and structured classifiers. UML 2.x is the version most modeling tools support today."}},{"@type":"Question","name":"Who created UML and which body maintains it?","acceptedAnswer":{"@type":"Answer","text":"UML was created by Grady Booch, James Rumbaugh, and Ivar Jacobson at Rational Software in the 1990s. The Object Management Group (OMG) now maintains the standard and publishes its official specification."}},{"@type":"Question","name":"What are stereotypes in UML notation?","acceptedAnswer":{"@type":"Answer","text":"A stereotype extends UML vocabulary by giving an existing element a new meaning, shown inside guillemets such as \u00abinterface\u00bb or \u00abentity\u00bb. Stereotypes let teams adapt standard notation to a specific domain without inventing new symbols."}},{"@type":"Question","name":"How can AI help you learn or generate UML notation?","acceptedAnswer":{"@type":"Answer","text":"AI tutoring tools can explain each UML symbol, quiz you on notation, and describe when to use a class, component, or state machine. This gives beginners quick, interactive feedback while they practice reading and drawing diagrams."}},{"@type":"Question","name":"Can AI convert source code into UML diagrams automatically?","acceptedAnswer":{"@type":"Answer","text":"Yes. Reverse-engineering and AI-assisted tools can scan source code and generate class, component, or sequence diagrams automatically. The generated notation still needs review, because AI may miss design intent or misread complex relationships."}}]}],"@id":"https://www.guru99.com/uml-notation-symbol.html#schema-1130035","isPartOf":{"@id":"https://www.guru99.com/uml-notation-symbol.html#webpage"},"publisher":{"@id":"https://www.guru99.com/#organization"},"inLanguage":"en-US","mainEntityOfPage":{"@id":"https://www.guru99.com/uml-notation-symbol.html#webpage"}}]}
```
