Diagramming
Mermaid
Outline includes support for the popular Mermaid diagramming language. To insert a diagram, create a code block through the block menu and change the language to “Mermaid diagram” or type /diagram directly – you will then see the option to switch between a source code and diagram view.
Examples
Gantt chart
gantt
title Release plan
dateFormat YYYY-MM-DD
section Design
Research :done, r1, 2026-10-01, 5d
Mockups :done, r2, after r1, 4d
section Build
Editor :active, b1, 2026-10-12, 10d
API :b2, after r2, 8d
section Launch
QA :crit, q1, after b1, 4d
Release :milestone, after q1, 0dPie chart
pie title Time spent
"Writing" : 45
"Reviewing" : 25
"Meetings" : 20
"Other" : 10Flowchart
flowchart LR
A[fa:fa-lightbulb Idea] --> B{Worth it?}
B -- Yes --> C[Build it]
B -- No --> D[Park it]
C --> E((Ship))
D -.-> A
click E "https://www.getoutline.com" "Outline"Icons
FontAwesome icon packs fa-solid and fa-brands are also bundled, enabling the use of ~2,500 icons in your diagrams.
You can use these through the fa-solid: or fa-brands: prefix, for example:
architecture-beta
service api(fa-solid:server)[API]
service db(fa-solid:database)[Database]
service repo(fa-brands:github)[GitHub]Supported diagrams
The following diagram types are supported:
Type | Keywords |
|---|---|
Flowchart |
|
Swimlane |
|
Sequence |
|
Class |
|
State |
|
Entity relationship |
|
Gantt |
|
Git graph |
|
Pie |
|
Mindmap |
|
Kanban |
|
Timeline |
|
User journey |
|
Quadrant chart |
|
XY chart |
|
Requirement |
|
Sankey |
|
Architecture |
|
C4 |
|
Block |
|
Agentflow |
|
Railroad |
|
Tree view |
|
Cynefin |
|
Wardley map |
|
Event modeling |
|
Use case |
|
Venn |
|
Ishikawa |
|
Packet |
|
Radar |
|
Treemap |
|
Info |
|
Diagrams.net
Outline also includes support for diagrams.net, you can insert through the block menu or by typing /diagram directly – you will then see the option to insert a new diagram.
When a new diagram is added to the document the editor will be automatically opened where you can draw. Every time the diagram is saved it will be updated in Outline in realtime. Diagrams are stored in Outline as PNG’s with embedded data, as such they can be used like regular images – with the lightbox, captions, and comments.

Edit an existing diagram
To update an existing diagram in a document, simply highlight the image and click on the edit/pencil icon to reopen on diagrams.net.
Note that the Outline document must be kept open while drawing on diagrams.net for the data to be sent back and saved correctly.
Importing
Existing diagrams can be imported by using the File → Export as → PNG option on diagrams.net – then insert the image into a document.
Self-hosting
It is also possible to use your own instance of diagrams.net deployed on your own infrastructure. To setup, just go to Settings → Integrations → Diagrams.net and enter the hostname where diagrams.net is deployed.
Example
