There are 14 basic types of UML diagrams defined by UML 2.2, the current standard as of this writing. These 14 diagrams are divided into two groups of seven each, namely structure diagrams and behavior diagrams.
Structure diagrams are static in nature and describe the major components of the system and their relationships. In contrast, behavior diagrams are dynamic and depict how components interact with each over time.
The following diagram shows the hierarchy of the UML diagrams followed by a brief description of each diagram type.
In the previous diagram, the diagram types that we will be examining in more detail in the rest of this chapter have a lighter background than the rest. Here is a brief description of all diagram types included in version 2.2 of the UML.
Class diagrams deal with classes, interfaces, and their properties and methods. They depict how the different classes and interfaces relate to each other, in a hierarchical fashion...