Deployment diagram shows the physical aspects of an object-oriented system. It also shows the configuration of run time processing nodes and artifacts.
Right click Deployment Diagram on Diagram Navigator and select New Deployment Diagram from the pop-up menu to create a deployment diagram.
![]() |
| Create deployment diagram |
To create node model element, right click on the background of Model Explorer and select Model Element > New Model Element from the pop-up menu.
![]() |
| Create model element |
In the New Model Element dialog box, type Node (Deployment) in Model element type, type the node name in Model element name. Click OK to confirm.
![]() |
| Create node |
A node model element will be created.
![]() |
| Node created |
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 |
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 dialog box pops out, the Classifiers tab is opened by default. Select the classifier(s) on the left and click Add Selected button to add them.
![]() |
| Add selected classifiers |
Click OK button to close the specification dialog box. The selected classifiers are assigned to the instance specification.
![]() |
| Classifiers assigned |
To create link from instance specification, move the mouse over the target shape and press its resource icon Link -> Instance Specification.
![]() |
| Create link |
Drag to empty space of the diagram to create a new instance specification, or drag to an existing instance specification to connect to it. Release the mouse button to create the link.
![]() |
| Link created |
Similar to creating instance of node, you first create a component model element, and then create an instance specification, but 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 |
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 |