Skip to main content

Deployment Diagram

Overview

Deployment diagrams can be used to describe the physical structure and layout of a system.
This page explains the operations for using the layout diagram in the following order.

  • Place layout diagram
  • Define the node
  • Define relationships

Deployment Diagram

Place layout diagram

To place a layout diagram, follow these steps:

Place a deployment diagram

Operating instructions
  1. Select the package in the model navigator and click [Add Model] > [Deployment Diagram] in the context menu.
  2. The layout diagram is placed on the child element of the selected package.

Define the node

To define a node, follow these steps:

Define a node

Operating instructions
  1. Drag and drop [Node] from the toolbox onto the displayed layout diagram.
  2. A new node will be added as a sibling element of the displayed layout diagram.
Elements that can be added from the toolbox

You can add the following elements displayed in the toolbox to the layout diagram.

IconName
PackagePackage
NodeNode
ArtifactArtifact
ComponentComponent
NoteNote
LabelLabel
Add ShapeShape

Add a stereotype to a node

To add a stereotype, follow these steps:

Add stereotype

Operating instructions
  1. Select a node.
  2. Click the Add button in the Basic information > Stereotype field in the Property Inspector to display the choices.
  3. Select a stereotype and press the [OK] button to set the stereotype to the node and display the stereotype in the node shape.
tip

Stereotype choices can be defined in the package model's Detail view.

tip

Once you have added a stereotype, you can edit it from the layout diagram by following these steps:

  1. Double-click the stereotype displayed in the node to enter editing status.
  2. When you change the stereotype and confirm the edit, it will be reflected on the layout diagram and the stereotype of the node will be changed.
tip
  • If you want to display an existing node on the layout diagram, you can display it by dragging and dropping the node on the model navigator onto the layout diagram.
  • By dragging and dropping artifacts and components to the node shape on the diagram, you can define what will be placed in the node.
    Artifacts and components defined as placeables are added as child elements of nodes.

Define relationships

To define an association, follow these steps:

Add relation

Operating instructions
  1. Move the pointer over the node you want to associate.
  2. Drag the [▲] icons that appear on all sides of the node and drop them onto the other node.
  3. A list of relationships that can be added will be displayed. Select the relationship you want to add, and the selected relationship will be added.
Related information that can be added

The following relationships are available in deployment diagrams:

IconName
RequiresDepends
RelationshipRelationship

Add stereotypes to associations

To add a stereotype, follow these steps:

Add stereotype

Operating instructions
  1. Select an association.
  2. Double-click the grayed-out [<<stereotype>>] to enter editing mode.
  3. Enter the stereotype you want to set, the stereotype will be displayed in the relationship in the layout diagram, and the stereotype will be set in the relationship.
tip

Similar steps can be used to define relationships for artifacts and components.