
Class diagram consists of classes, interfaces, associations and collaboration.Ĭlass diagrams basically represent the object oriented view of a system which is static in nature.Īctive class is used in a class diagram to represent the concurrency of the system.Ĭlass diagram represents the object orientation of a system. The four structural diagrams are:Ĭlass diagrams are the most common diagrams used in UML. These static parts are represents by classes, interfaces, objects, components and nodes. These static aspects represent those parts of a diagram which forms the main structure and therefore stable.

The structural diagrams represent the static aspect of the system. There are two broad caetgories of diagrams and then are again divided into sub-categories: Diagrams are generally made in an incremental and iterative way. You can also create your own set of diagrams to meet your requirements. So UML defines various kinds of diagrams to cover most of the aspects of a system. A single diagram is not enough to cover all aspects of the system. We prepare UML diagrams to understand a system in better and simple way.

So if we look around then we will realize that the diagrams are not a new concept but it is used widely in different form in different industries. These diagrams have a better impact on our understanding. So it is very important to understand the different diagrams to implement the knowledge in real life systems.Any complex system is best understood by making some kind of diagrams or pictures.

The elements are like components which can be associated in different ways to make a complete UML pictures which is known as diagram. Now we need to understand where to use those elements. In the previous chapters we have discussed about the building blocks and other necessary elements of UML.
