Professional Documents
Culture Documents
UML - Lec Timing Diag
UML - Lec Timing Diag
UML - Lec Timing Diag
Timing Diagram
How to use UML diagrams to design software system?
Timing diagrams
Timing diagram
• Defines the behavior of different objects within a
time-scale
• Provides a visual representation of objects
changing state and interacting over time.
Timing diagram
• Timing diagrams shows the behavior of the
objects in a given period of time.
• Timing diagram is a special form of a sequence
diagram.
• The differences between timing diagram and
sequence diagram are the axes are reversed
so that the time are increase from left to right
and the lifelines are shown in separate
compartments arranged vertically.
Timing diagram
• Timing Diagrams are used to show interactions
when a primary purpose of the diagram is to
reason about time.
• Timing diagrams focus on conditions changing
within and among Lifelines along a linear time
axis.
• Timing diagrams describe behavior of both
individual classifiers and interactions of
classifiers, focusing attention on time of
occurrence of events causing changes in the
modeled conditions of the Lifelines..
Interaction Diagram: Timing Diagram
To explore the behaviors of 0..* objects throughout a given period of
time.
Two basic flavors: concise notation and robust notation
critical
states
Timing
constraints
states
state timeline
transition point
Can you transform this into a concise notation? Where would you use them?
8
Timing diagram
Timing diagram
Interaction Diagram: Timing Diagram (robust notation)
A frame to bound the two lifelines
events/stimuli
timing constraint
states/conditions
timing observation
transition point
state timeline
message
state timeline
11
timing ruler w. tick marks
12
Timing diagram
What UML Modeling tools we use today?