Usage

Excalidraw Macro

This macro helps you create figures, diagrams, and notes using Excalidraw. It's a powerful tool for brainstorming and visualizing ideas. This plugin uses a built-in Excalidraw version, therefore, your data will not be seen or stored by excalidraw.com and will be securely kept in your Confluence instance.

Insert Excalidraw drawings

Select the Excalidraw diagrams macro from the macro list.

Excalidraw for Confluence

Click Open Editor.

Excalidraw for Confluence

Draw anything you want. To draw perfect shapes like a circle, hold the Shift button while drawing.

Excalidraw for Confluence

Click Save and Close, and wait until the drawing shows up in the dialog. If you don't want to save the changes, click the X button on the top right corner.

Excalidraw for Confluence

Click Insert (for new macro contents) or Save (for existing macro content).

Excalidraw for Confluence

Adding new shapes from the Excalidraw Libraries website

The Excalidraw Libraries website (https://libraries.excalidraw.com) provides a lot of useful shapes. These shapes are contributed by the community.

To add new shapes, visit the website and click the Download button to save the collection you need to your computer. The downloaded library file's extension is .excalidrawlib.

Do not use the Add to Excalidraw button, as the library will not be added to the plugin-hosted Excalidraw Editor.

Excalidraw for Confluence

Open the Excalidraw Editor in Confluence, and upload the library file.

Excalidraw for Confluence
Excalidraw for Confluence

You can then drag and drop shapes into the canvas.

Excalidraw for Confluence

Saving shapes as libraries

Let's say we want to save the following doughnut shape to reuse later. The first step is to select the whole shape.

Excalidraw for Confluence

Add the selected shape to your library.

Excalidraw for Confluence

To save your library locally (for the backup purpose, for example), click the Export button.

Excalidraw for Confluence

Draw.io Integration Macro

This macro helps you to use draw.io to create multiple kinds of advanced diagrams. The macro uses the embedded version of draw.io editor. If this is the first time you use draw.io, please check out their privacy policy.

Insert Draw.io drawings

Select the DrawIO diagrams macro from the macro list.

Excalidraw for Confluence

Click Open Editor.

Excalidraw for Confluence

Draw anything you want.

Excalidraw for Confluence

Click Save & Exit, and wait until the drawing shows up in the dialog. If you don't want to save the changes, click Exit.

Excalidraw for Confluence

Click Insert (for new macro contents) or Save (for existing macro content).

Excalidraw for Confluence

BPMN Macro

This macro helps you create BPMN diagrams using a built-in version of bpmn.io. The data is securely kept in your Confluence instance and is not shared with bpmn.io.

Insert BPMN drawings

Select the BPMN diagrams macro from the macro list.

Excalidraw for Confluence

Click Open Editor.

Excalidraw for Confluence
Excalidraw for Confluence

Click Save and Close, and wait until the drawing shows up in the dialog. If you don't want to save the changes, click the X button on the top right corner.

Excalidraw for Confluence

Click Insert (for new macro contents) or Save (for existing macro content).

Mermaid UML Diagrams Macro

The Render Mermaid UML Diagrams macro (https://mermaid-js.github.io/mermaid/#/) uses Mermaid to render UML diagrams. It allows you to define UML diagrams in plain-text format just like Markdown.

For a live editor to draft your diagrams, please try https://mermaidjs.github.io/mermaid-live-editor.

In the Confluence editor, open the Select macro dialog. The macro name is Render Mermaid UML Diagrams.

Mermaid UML Diagrams and Graphviz Diagrams for Confluence Cloud

Alternatively, type / (slash) and select the macro.

Mermaid UML Diagrams and Graphviz Diagrams for Confluence Cloud

A dialog will appear. Type the content of the UML diagram into the macro editor. Here is an example:

Mermaid UML Diagrams and Graphviz Diagrams for Confluence Cloud

While editing, you can click Show preview to see the result. You can also click Full Screen Editor to open the Mermaid editor that will help you design new diagrams easily.

Mermaid UML Diagrams and Graphviz Diagrams for Confluence Cloud

Save the page, and the UML diagram will be rendered.

Mermaid UML Diagrams and Graphviz Diagrams for Confluence Cloud

PlantUML Diagrams Macro

The Render PlantUML Diagrams macro (https://plantuml.com/) uses PlantUML to render UML diagrams. It allows you to define UML diagrams in plain-text format just like Markdown.

For a live editor to draft your diagrams, please try http://www.plantuml.com/plantuml.

In the Confluence editor, open the Select macro dialog. The macro name is Render PlantUML Diagrams.

UML for Confluence

A dialog will appear. Type the content of the UML diagram into the macro editor. Here is an example:

You can find more examples here https://plantuml.com/. The PDF guideline can be downloaded here https://plantuml.com/guide.

Save the macro, and the UML diagram will be rendered.

UML for Confluence

Graphviz Diagrams Macro

The Graphviz layout programs (https://www.graphviz.org/) take descriptions of graphs in a simple text language, and make diagrams in useful formats, such as images and SVG for web pages; PDF or Postscript for inclusion in other documents; or display in an interactive graph browser. Graphviz has many useful features for concrete diagrams, such as options for colors, fonts, tabular node layouts, line styles, hyperlinks, and custom shapes.

You can find more Graphviz examples here.

In the Confluence editor, open the Select macro dialog. The macro name is Render Graphviz Diagrams.

Mermaid UML Diagrams and Graphviz Diagrams for Confluence Cloud

Select the macro, then click Insert.

Mermaid UML Diagrams and Graphviz Diagrams for Confluence Cloud

Type the content of the Graphviz diagram into the macro editor. Here is an example:

Mermaid UML Diagrams and Graphviz Diagrams for Confluence Cloud

Save the page, and the Graphviz diagram will be rendered.

Mermaid UML Diagrams and Graphviz Diagrams for Confluence Cloud

Mindmap

Select the Mind Map macro from the macro list.

Mind Mapping for Confluence

Click Open Editor.

Mind Mapping for Confluence

The Mind Map Editor now opens and you can start brainstorming! To create a subtopic, use Tab. To create a sibling topic, use Enter.

Mind Mapping for Confluence

Click Save and Close, and wait until the drawing shows up in the dialog. If you don't want to save the changes, click the X button on the top right corner.

Mind Mapping for Confluence

Click Insert (for new macro contents) or Save (for existing macro content).

Mind Mapping for Confluence

Examples

Mermaid

Flowchart

Flowcharts can be rendered with Mermaid. See more https://mermaid-js.github.io/mermaid/#/flowchart.

Input
Render

Sequence diagram

Sequence diagrams can be rendered with Mermaid. See more https://mermaid-js.github.io/mermaid/#/sequenceDiagram.

Input
Render

Class diagram

Class diagrams can be rendered with Mermaid. See more https://mermaid-js.github.io/mermaid/#/classDiagram.

Input
Render

State diagram

State diagrams can be rendered with Mermaid. See more https://mermaid-js.github.io/mermaid/#/stateDiagram.

Input
Render

Entity Relationship diagram

Entity Relationship diagrams can be rendered with Mermaid. See more https://mermaid-js.github.io/mermaid/#/entityRelationshipDiagram.

Input
Render

User Journey

User Journey can be rendered with Mermaid. See more https://mermaid-js.github.io/mermaid/#/user-journey.

Render
Input

Gantt chart

Gantt charts can be rendered with Mermaid. See more https://mermaid-js.github.io/mermaid/#/gantt.

Input
Render

Pie chart

Pie charts can be rendered with Mermaid. See more https://mermaid-js.github.io/mermaid/#/pie.

Input
Render

Graphviz

This diagram is rendered with Graphviz.

Input
Render

PlantUML

Sequence diagram

Use Case diagram

Class diagram

Activity diagram

Component diagram

Deployment diagram

State diagram

Timing diagram

JSON

Mindmap

Work Breakdown Structure

Maths

Entity Relationship diagram

C4 diagram

AWS architecture diagram

Last updated

Was this helpful?