# Deployment Diagram

![Deployment Diagram (from uml-diagrams.org)](https://135672590-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L9shwSMiocGHpSKcbss%2F-MICiA7nW7dUuY-RKDPz%2F-MICkWhlRoCujD6QGjK6%2FBook%20Club%20Web%20Application.png?alt=media\&token=7866c4d7-5b89-47b1-b327-798e33551b41)

## Create Deployment Diagram

To create a Deployment Diagram:

1. Select first an element where a new Deployment Diagram to be contained as a child.
2. Select **Model | Add Diagram | Deployment Diagram** in Menu Bar or select **Add Diagram | Deployment Diagram** in Context Menu.

> **See also**
>
> [UML Deployment Diagram](http://www.uml-diagrams.org/deployment-diagrams-overview.html) - For more information about UML Deployment Diagram.

## Node

To create a Node:

1. Select **Node** in **Toolbox**.
2. Drag on the diagram as the size of Node.

To create a Node (model element only) by Menu:

1. Select an Element where a new Node to be contained.
2. Select **Model | Add | Node** in Menu Bar or **Add | Node** in Context Menu.

You can use **QuickEdit** for Node by double-click or press `Enter` on a selected Node.

* **Name Expression** : Edit name expression.

  *Syntax of Name Expression*

  ```
  expression ::= [ '<<' stereotype `>>` ] [ visibility ] name
  stereotype ::= (identifier)
  visibility ::= '+' | '#' | '-' | '~'
  name ::= (identifier)
  ```
* **Visibility** : Change visibility property.
* **Add Note** : Add a linked note.
* **Add Constraint** : Add a constraint.
* **Add Attribute** (`Ctrl+Enter`) : Add an attribute.
* **Add Operation** (`Ctrl+Shift+Enter`) : Add an operation.
* **Add Reception** : Add a reception.
* **Add Communicating Node** : Add a communicating node.
* **Add Deployed Component** : Add a deployed component.
* **Add Deployed Artifact** : Add a deployed artifact.

To suppress Attributes, see [Suppress Attributes](https://docs.staruml.io/master/user-guide/formatting-diagram#suppress-attributes).

To suppress Operations, see [Suppress Operations](https://docs.staruml.io/master/user-guide/formatting-diagram#suppress-operations).

To show or hide Operation Signatures, see [Show Operation Signature](https://docs.staruml.io/master/user-guide/formatting-diagram#show-operation-signature).

## Deployment

To create an Deployment:

1. Select **Deployment** in **Toolbox**.
2. Drag from an element (to be deployed) and drop on a Node.

You can use **QuickEdit** for Relationship (See [Relationship](https://docs.staruml.io/master/class-diagram#relationship)).

## Communication Path

To create an Communication Path:

1. Select **Communication Path** in **Toolbox**.
2. Drag from a Node and drop on another Node.

You can use **QuickEdit** for Association (See [Association](https://docs.staruml.io/master/class-diagram#association)).
