How to Draw Deployment Diagram?
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.
- Select Diagram > New from the application toolbar.
- In the New Diagram window, select Deployment Diagram.
- Click Next.
- Enter the diagram name and description. The Location field enables you to select a model to store the diagram.
- 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:
- Move your mouse pointer over the source shape.
- Press on the Resource Catalog button and drag it out.
Using Resource Catalog - Release the mouse button at the place where you want the instance specification to be created.
- Select Link -> Instance Specification from Resource Catalog.
To create an instance specification - 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 |
Related Resources
The following resources may help you to learn more about the topic discussed in this page.
- What is Deployment Diagram? - An introductory guide to Deployment Diagram
- New to Visual Paradigm? We have a lot of UML tutorials written to help you get started with Visual Paradigm
- Visual Paradigm on YouTube
- Visual Paradigm Know-How - Tips and tricks, Q&A, solutions to users' problems
- Contact us if you need any help or have any suggestion
Chapter 8. Deployment diagram | Table of Contents | Chapter 9. Package diagram |