Interaction Overview Diagrams Primer of ObjectOriented Modeling with

Interaction Overview Diagrams Primer of Object-Oriented Modeling with UML

Knowledge map

Agenda • • What is Interaction Overview Diagrams How to read Interaction Overview Diagrams How to draw Interaction Overview Diagram Summary

Agenda • • What is Interaction Overview Diagrams How to read Interaction Overview Diagrams How to draw Interaction Overview Diagram Summary

Agenda • • What is Interaction Overview Diagrams How to read Interaction Overview Diagrams How to draw Interaction Overview Diagram Summary

Basis • • • Interaction overview diagrams are a grafting together of activity diagrams and sequence diagrams. You can think of interaction overview diagrams either as activity diagrams in which the activities are replaced by little sequence diagrams. Or as a sequence diagram broken up with activity diagram notation used to show control flow. The interactive overview is more suitable for sketching. The business process is modeled through the activity diagram. Then, some of the key nodes with low complexity are refined, the control flow between objects is represented by a sequence diagram. Do not blindly use the interactive overview chart. For a slightly larger scene, it is not a good choice, it will greatly reduce the readability of the model.

Agenda • • What is Interaction Overview Diagrams How to read Interaction Overview Diagrams How to draw Interaction Overview Diagram Summary

Read Interaction Overview Diagrams

Read Interaction Overview Diagrams • • Understanding the activity control flow: You can view the entire sequence diagram as an active node. Analysis of active nodes: After a clear understanding of the activity control flow for the entire business, go to the details of each active node.

Agenda • • What is Interaction Overview Diagrams How to read Interaction Overview Diagrams How to draw Interaction Overview Diagram Summary

Choose a modeling strategy • • • There are two forms of interactive overview: You can think of interaction overview diagrams either as activity diagrams in which the activities are replaced by little sequence diagrams, or as a sequence diagram broken up with activity diagram notation used to show control flow. If you are modeling the workflow, you should first use the activity diagram to represent the control flow, and then use the sequence diagram to describe some of the object control flow of the active nodes to illustrate more implementation details. If you are modeling for the design and implementation of the code, you can first clear the flow of control between the objects through the sequence diagram; and then use the activity diagram to represent some important methods and call of the algorithm.

Describe the main line with the activity diagram

Describe the details with the sequence diagram

Agenda • • What is Interaction Overview Diagrams How to read Interaction Overview Diagrams How to draw Interaction Overview Diagram Summary

Summary • • • This chapter begins with the characteristics of sequence diagrams and activity diagrams, and introduces an new interaction overview diagrams mixed sequence diagrams and activity diagrams in UML 2. 0 Talked about the reading strategies and methods : "first to understand the activities control flow", and "then analyze the active nodes" Explain the three steps of drawing interaction overview diagrams : determine the strategy, sort out the main line, express the details
- Slides: 15