# Deployment Diagram

![Deployment Diagram (from uml-diagrams.org)](/files/-MICkWhlRoCujD6QGjK6)

## 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](/user-guide/formatting-diagram.md#suppress-attributes).

To suppress Operations, see [Suppress Operations](/user-guide/formatting-diagram.md#suppress-operations).

To show or hide Operation Signatures, see [Show Operation Signature](/user-guide/formatting-diagram.md#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](/working-with-uml-diagrams/class-diagram.md#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](/working-with-uml-diagrams/class-diagram.md#association)).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.staruml.io/working-with-uml-diagrams/deployment-diagram.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
