Collaboration Diagrams

I l @ ve RuBoard

A collaboration diagram is an alternate way to show a scenario. This type of diagram shows object interactions organized around the objects and their links to each other. A collaboration diagram contains

  • Objects drawn as rectangles

  • Links between objects shown as lines connecting the linked objects

  • Messages shown as text and an arrow that points from the client to the supplier

The UML notation for objects, links, and messages in a collaboration diagram is shown in Figure 5-10.

CREATING COLLABORATION DIAGRAMS FROM SEQUENCE DIAGRAMS IN RATIONAL ROSE

graphics/quatranirose_icon.gif
  1. Double-click on the sequence diagram in the browser to open the diagram.

  2. Choose the Browse:Create Collaboration Diagram menu choice or press the F5 key.

  3. Rearrange the objects and messages on the diagram as needed.

Figure 5-10. UML Notation for Objects, Links, and Messages in a Collaboration Diagram

graphics/05fig10.gif

The collaboration diagram is shown in Figure 5-11.

Figure 5-11. Collaboration Diagram

graphics/05fig11.jpg

Collaboration diagrams can also be created from scratch. In that case, a sequence diagram can be created from the collaboration diagram by selecting the Browse:Create Sequence Diagram menu choice or by pressing the F5 key.

I l @ ve RuBoard


Visual Modeling with Rational Rose 2002 and UML
Visual Modeling with Rational Rose 2002 and UML (3rd Edition)
ISBN: 0201729326
EAN: 2147483647
Year: 2002
Pages: 134

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net