---
title: Deploy diagrams.net with AI on Blossom
url: "/deploy/diagrams-net/"
canonical_url: https://blossom88.com/deploy/diagrams-net/
markdown_url: https://blossom88.com/deploy/diagrams-net.md
summary: Draw a small process diagram in your own browser editor and save it as an
  editable file.
categories:
- deployment
- documents
stack:
- JavaScript
- mxGraph
- Java
- Tomcat
---

# Deploy diagrams.net with AI on Blossom

[diagrams.net](https://github.com/jgraph/drawio), also called draw.io, is a
browser editor for flowcharts, network diagrams, and other sketches. In
this setup, you keep an editable file on your device.

## Ask Your Agent

> **Ask your AI agent:** Deploy diagrams.net on Blossom and help me draw a simple workshop flow.
>
> Follow this guide: https://blossom88.com/deploy/diagrams-net/

[Install the Blossom CLI and skill](https://docs.blossom88.com/learn/getting-started/install/) on your agent's machine and [choose a Location in your cloud account](https://docs.blossom88.com/learn/getting-started/choose-your-cloud/#connect-your-provider).

## How It Runs

| Part | Role | Where |
|---|---|---|
| diagrams.net | Serve the browser-based editor | One web Service on App Capacity |
| Device files | Keep editable diagrams as .drawio files | Your own file storage |

## Deploy diagrams.net

Open the editor through your private Blossom HTTPS address. Use Device
storage for the sample, so the editor can run without a connected drive
or a server Volume.

<details class="optional-reading" markdown="1">
<summary>Notes for your agent</summary>

Use the official `jgraph/drawio` image and its HTTP port `8080`. Give
the web Service Blossom Account access. Open `/?offline=1&mode=device`
for the local-file workflow. Save the diagram to the device before
closing the browser or replacing the Container.

The [editor uses Apache 2.0](https://github.com/jgraph/drawio/blob/dev/LICENSE).
The [Docker packaging uses GPL-3.0](https://github.com/jgraph/docker-drawio/blob/dev/LICENSE).

</details>

<details class="optional-reading" markdown="1">
<summary>Commands your agent runs</summary>

    blossom app_plan:preview --data diagrams-net-plan.yml
    blossom service:create --data diagrams-net-service.yml
    blossom environment:deploy --id environment-100 --follow

</details>

## Sketch Your Process

Open or draw a three-box flow for workshop registration. Connect
**Workshop intake**, **Review request**, and **Confirm seat** in order.
Rename the middle box to **Review registration**, then save the
editable `workshop.drawio` file.

![Edit the registration step in the workshop flow.](/deploy/assets/images/diagrams-net/diagrams-net-edit-workshop.webp)

> **Ask your AI agent:** Help me draw a three-step workshop flow and save an editable copy to my device.

> Follow this guide: https://blossom88.com/deploy/diagrams-net/



## Open the Same File After an Update

Once your editor is running again, choose **File → Open from →
Device**. Open the saved copy and check the registration step.

![Reopen the saved workshop flow after a deploy.](/deploy/assets/images/diagrams-net/diagrams-net-reopen-workshop.webp)


> **Ask your AI agent:** Update diagrams.net and help me reopen my saved workshop flow.

> Follow this guide: https://blossom88.com/deploy/diagrams-net/



## What You Get

- Your own browser-based diagram editor
- A workshop flow you can save and edit again
- The same file opens after an update

Tested on Blossom: The saved workshop diagram reopened with its edited label after replacing the Container.
