Creating nodes

Nodes represent devices or other resources that store and process instances during run time. For example, a node can represent a type of CPU. A node can be owned only by a package. In addition, nodes cannot be nested inside other nodes. Nodes can contain component instances.

About this task

In IBM® Rational® Rhapsody®, nodes represent UML node instances.

The graphical symbol for a node in the UML is a three-dimensional cube with a name, such as the name of a processor.

Node element

You can create a node using the Node tool, the Edit menu, or the Rational Rhapsody browser.

Creating nodes with the Diagram Tools

Procedure

  1. Click the Node button Node button in Diagram Tools.
  2. Click or click-and-drag with the mouse to place the node on the diagram. The product creates a node symbol with the default name of node_n, where n is an incremental integer starting with 0.

Creating nodes with the browser

Procedure

  1. Depending on the method you want to use:
    • Right-click a package in the browser and select Add New > Node, or
    • Right-click a node category and select Add New Node.
  2. Edit the default name of the new node.
  3. With both the browser and the deployment diagram editor in view, click‑drag‑and‑drop the node onto the diagram.

Results

You can click-and‑drag any node that exists in the browser to add it to a deployment diagram.


Feedback