Creating dependencies

A dependency represents a requirement by one component instance of information or services provided by another. Dependencies can also be drawn between nodes. You can add a dependency using the Dependency tool or the IBM® Rational® Rhapsody® browser.

Adding dependencies with the Diagram Tools

Procedure

  1. Click the Dependency button Dependency button in the Diagram Tools.
  2. Click the dependent node or component instance.
  3. Click the node or component instance that is being depended on. The arrow at the end of the dependency points to the selected instance.

Results

Dependency arrow.

Adding a dependency with the browser

Procedure

  1. Right-click the dependent node or component instance in the browser and then select Add New > Dependency.
  2. On the Add Dependency window, select the node or component instance that is being depended on from the Depends on list. The dependency is added as a relation under the component instance. Click OK.
  3. Click the Dependency icon.
  4. Draw the dependency in the deployment diagram.

Results

Note: You cannot add dependencies to a diagram by dragging.

Feedback