Presentation is loading. Please wait.

Presentation is loading. Please wait.

Interaction diagrams.

Similar presentations


Presentation on theme: "Interaction diagrams."— Presentation transcript:

1 Interaction diagrams

2 Two kinds of interaction diagram:
Interaction diagrams are modules that describe how groups of objects collaborate in some behavior. This shows objects and the messages that are passed between objects within the use case. Two kinds of interaction diagram: Sequence diagram Collaboration diagram

3

4 Sequence diagram Has two dimensions
Vertical dimension – represents time Horizontal dimension – represents different Objects Describes the behavior of a system by viewing the interaction between the system and its environment. Sequence diagrams describe a pattern of interaction among objects, arranged in a time sequence. It shows the objects participating in the interaction by their "lifelines" and the messages that they send to each other, arranged in a time sequence.

5 notations Object/system/instance Link
Messages and conditional messages Return line Iteration Message to self Activation box Lifeline Object destruction Focus of control

6 An actor is someone or something outside the system that interacts with the system, either by giving or receiving information or both.

7

8

9

10

11

12 ru

13

14

15

16

17

18 Collaboration diagram

19

20

21

22

23

24

25

26

27

28

29

30

31


Download ppt "Interaction diagrams."

Similar presentations


Ads by Google