Diagram Macro

Diagram Macro

The Diagram Macro lets you author your Confluence pages using various text-based diagram formats. Diagrams can be explored interactively, allowing users to zoom and pan for better navigation.

diagram_crop.mp4

To use this macro:

  1. Type /diagram in your Confluence page.

  2. Choose the “Diagram” option.

  3. Pick the Syntax of the Diagram you want to use. We currently support:

    • BlockDiag

    • Bytefield

    • C4 with PlantUML

    • Ditaa

    • Erd

    • GraphViz

    • Mermaid

    • Nomnoml

    • Pikchr

    • PlantUML

    • Structurizr

    • Svgbob

    • Symbolator

    • UMlet

    • Vega

    • Vega-Lite

    • WaveDrom

  4. Pick which source for the Diagram you want to embed. We support direct entry, a file attached to the Confluence page, or a Remote URL.

     

  5. Click the refresh icon next to the word Preview to see a preview of your content

 

Remote URL Support

We support embedding Markdown from the following sources:

  • Any public URL

  • Private Github Cloud Repositories

  • Private Bitbucket Cloud Repositories

  • Private GitLab Cloud Repositories

For private repository sources, we will ask the user who is viewing the Confluence page to oauth to the repository to ensure they have access to the file.