Professional Documents
Culture Documents
(UML) FR en
(UML) FR en
com
4.1 Introduction
A diagram is the graphical representation of a set of elements that make up a system. Most
of the time it is represented in the form of a connected graph where the vertices
A diagram gives the user a way to visualize and manipulate modeling elements. The
UML Meta model provides a range of tools for representing all the elements of the
object world (class, object, etc.) as well as the links that connect them.
However, since a single representation is too subjective, UML provides a nifty
way to represent various projections of the same representation using views. A
view is made up of one or more diagrams. UML defines nine kinds of structural
and behavioral diagrams to represent static and dynamic views respectively.
Each view is articulated around several diagrams, each of them being dedicated to the
Static views
- Class diagram :
The class diagram in UML is a static graphical representation used to model the
structure of a software system. It describes classes, objects, relationships and
interactions between them.
- Object diagram:
The object diagram shows specific objects, the classes they belong to, and the
relationships and attributes associated with those objects. It is used to represent the
static structure of a system, including objects, their properties, and their relationships,
but not their dynamic behavior.
and their interactions. It emphasizes the internal structure of a system and how its
representation that shows the hardware and software configuration of a system, as well as
the relationships between the software components and the hardware resources on which
they are deployed. It focuses on the physical distribution of the components of a system
Dynamic views
- Activity diagram:
The activity diagram in UML is a dynamic diagram which models the flow of
activities, actions and decisions in a process or a behavior of a system. It
emphasizes the behavioral aspect and the sequence of actions in a given
scenario.
- Sequence diagram:
Sequence diagram in UML is a dynamic diagram that shows the interaction
between objects of a system in a given scenario. It emphasizes the sequence of
messages exchanged between objects over time to accomplish a specific function.
- State transition diagram:
The state transition diagram in UML is a diagram that models the different
states of an object or a system, as well as the transitions between these states in
response to events. It focuses on the behavior and state changes of a system
element over time.
- Collaboration Diagrams:
The collaboration diagram in UML is an interactive diagram that represents the interaction
between the objects of a system to achieve a specific scenario. It emphasizes the messages
exchanged between objects and the relationships between them during the execution of a
scenario.