Add a Diagram to a Page

Last modified by Vincent Massol on 2026/10/21 19:09

Steps

Draw a diagram in a wiki page from its textual definition, using the "plantuml" macro. To see what the macro can draw, read PlantUML.

  1. Edit the page and insert the "PlantUML" macro where the diagram goes.
  2. Type the definition of the diagram in "Content", in the PlantUML language, and click "Submit".

    Edit Macro dialog of the PlantUML macro with a use case diagram definition in the Content field highlighted

    In the wiki editor, write the macro on its own lines instead:

    {{plantuml}}
    @startuml
    :Customer: -> (Withdraw)
    note right of (Withdraw) : This is an example.
    @enduml
    {{/plantuml}}
  3. Click "Save & View". The diagram is displayed in the page.

    Use case diagram linking a Customer actor to a Withdraw use case, with a note

FAQ

Do I have to write the start and end lines of the diagram?

No, see the type parameter of the "plantuml" macro.

Where do I find the syntax of the other diagram types?

The "plantuml" macro reference lists the diagram types, and the PlantUML website describes the language of each one.

Related

Get Connected