2. Dependence Relationships

2.1. Uses Diagram

The most basic notion relationship between parts is the uses relationship.

A uses B when the behaviour of A depends on the behaviour of B

Figure 14.1. Uses Diagram of a Web browser.

Uses Diagram of a Web browser.

2.2. Shapes of the Uses Diagram

  1. Trees: In general the uses diagram are not trees, but part of them can form trees.

  2. Layers

    Figure 14.2. Layered diagram for the Protocol module.

    Layered diagram for the Protocol module.

  3. Cycles

    Figure 14.3. Display showing a cycle relationship with Main.

    Display showing a cycle relationship with Main.

    What can be done with uses diagrams:

    • Reasoning.

    • Reuse.

    • Construction Order.

2.3. Audio

Audio in Portuguese