1. Home
  2. Docs
  3. Chapter 5. UML & SysML
  4. 8. Deployment Diagram
  5. How to draw a Deployment Diagram in UML

How to draw a Deployment Diagram in UML

Deployment diagram is a kind of UML diagram that shows the physical aspects of an object-oriented system. It also shows the configuration of run time processing nodes and artifacts.

Creating deployment diagram

Perform the steps below to create a UML deployment diagram in Visual Paradigm.

  1. Select Diagram > New from the application toolbar.
  2. In the New Diagram window, select Deployment Diagram.
  3. Click Next.
  4. Enter the diagram name and description. The Location field enables you to select a model to store the diagram.
  5. Click OK.

Creating node

To create node in deployment diagram, click Node on the diagram toolbar and then click on the diagram.

Node selected

Creating instance of node

To create instance of node, click Instance Specification on the diagram toolbar and then click on the diagram.

Create instance specification
An instance specification will be created.

Instance specification created

Selecting classifiers

To specify classifiers for an instance specification, right-click it and select Select Classifier > Select Classifier… from the pop-up menu.

Select classifier
When the Instance Specification Specification window pops out, the Classifiers tab is opened by default. Click Add…. Then, select the classifier(s) in the popup window and click OK.

Select node
Click OK button to close the specification window. The selected classifiers are assigned to the instance specification.

Classifiers assigned

Creating link

To create link from instance specification:

  1. Move your mouse pointer over the source shape.
  2. Press on the Resource Catalog button and drag it out.
  3. Release the mouse button at the place where you want the instance specification to be created.
  4. Select Link -> Instance Specification from Resource Catalog.
    To create an instance specification
  5. A new instance specification will be created and is connected to the source shape. Enter its name and press Enter to confirm editing.
    Instance Specification created

Creating instance of component

Similar to creating instance of node, you first create a component model element and then create an instance specification. However, this time assigns a component to the instance specification as classifier. After that the instance specification will be displayed as a component.

Instance of component

Creating dependency

To create dependency, click Dependency on the diagram toolbar.

Create dependency
Drag from the source shape, move the mouse over the target shape and then release the mouse button to create the dependency.

Dependency created
Continue to complete the diagram.

Completed diagram