PlantUML Editor · Confluence macro

PlantUML in Confluence, without a PlantUML server.

Write PlantUML next to a live preview. Sequence, class, activity, C4 and more. The diagram is drawn in the browser of the person reading the page, so your diagram text never leaves Atlassian.

In development. Not on the Atlassian Marketplace yet.

A PlantUML sequence diagram drawn by the macro on a Confluence page: Customer, Support and Engineering. Reports a problem, Escalates, Fix ready, Fixed.
On the page. The diagram fits the width. Zoom, open it large, or download it as SVG or PNG.

Type the code, see the diagram

Many PlantUML macros send your diagram text to a PlantUML server to get a picture back. This one has the PlantUML engine inside the app. Nothing to host, nothing to configure, and no server that can be down.

PlantUML Editor while editing a page. Left: example buttons from Sequence to Mind map, and fourteen lines of PlantUML for a support request. Right: the sequence diagram it draws, with zoom, Open large, SVG and PNG. At the bottom: Cancel and Save diagram.
The editor. Pick an example or type PlantUML. The preview redraws as you type.

Errors point to the line

A mistake marks the line in the code and says what is wrong in plain words. Click a shape in the preview to jump to its line.

C4 built in

The C4-PlantUML library is included, so !include <C4/C4_Container> works with no setup.

Step back safely

Each save is kept under Versions, so a bad edit is not a lost diagram.

Start from an example

12 examples: sequence, use case, class, activity, component, state, deployment, ER, C4 context, C4 container, Gantt and mind map. Light and dark theme follow Confluence.

A C4 container diagram: Customer uses the Web app, which calls the API, which reads and writes the Database.
C4 container.
A class diagram: Customer places Order, Order has LineItems and implements Payable.
Class.
An activity diagram: Receive request, Approved? Yes leads to Plan the work, then Build and Write docs in parallel, then Ship it; No leads to Send back with notes.
Activity.

Runs on Forge, draws in your browser

The macro runs on Atlassian Forge. The diagram source is saved in the macro on the Confluence page. Version history is kept in Forge app storage in your cloud site. The app does not connect to the internet: includes from a web address are refused with a clear message. Nothing is sent to Dortus.

Platform
Atlassian Forge macro
Source
In the macro on the page
Rendering
PlantUML engine, in the viewer's browser
Server
None, no PlantUML server

Coming to the Atlassian Marketplace

PlantUML Editor for Confluence is the next editor from Dortus, after Mermaid Editor and Math for Confluence. Want to know when it is out? Mail support@dortus.com.