Venolio

Diagrams

A diagram block draws a picture from a short text written in Mermaid, a common language for diagrams. Because the diagram is text, anyone can change it by editing a few words, and it stays readable in exports and in AI tools.

A flowchart drawn on a page, with its Mermaid source open below it

Add a diagram

  1. Type /diagram (or /mermaid) and choose Diagram (Mermaid).

  2. A small flowchart appears with its source open for editing:

    flowchart LR
      A[Start] --> B{Decision}
      B -->|Yes| C[Done]
      B -->|No| A
    
  3. Change the text. A live preview under the source redraws as you type.

  4. Click Done, or move the cursor out of the block. The page shows only the drawing.

To change it later, click the drawing or Edit.

You can also turn any code block into a diagram by choosing the language mermaid, and back into an ordinary code block by choosing another language.

What you can draw

All the usual Mermaid diagram types work, for example:

Diagram Starts with
Flowchart flowchart LR or flowchart TD
Sequence diagram sequenceDiagram
Class diagram classDiagram
State diagram stateDiagram-v2
Entity-relationship diagram erDiagram
Gantt chart gantt
Mind map mindmap
Timeline timeline

See the Mermaid documentation for the syntax of each type.

Errors

If the text has an error, the block shows the source with Mermaid’s error message. While you are editing, the last good drawing stays faded under the source, so you do not lose your place.

How diagrams look and behave

  • Diagrams follow the app’s light or dark theme and redraw when you switch it.
  • A diagram is an image: its text cannot be selected or searched on the page, but its source can be found by search.
  • Diagrams draw without an internet connection, also in the desktop and Android apps.
  • Published pages show the drawing. Markdown and HTML exports, page versions and e-mail carry the Mermaid source as text.

Limits

  • A diagram can have up to 50,000 characters of source and 500 connections. A larger one shows as text.
  • Mermaid’s own themes, theme variables, fonts and CSS from a diagram are ignored; the app’s theme is used.
  • Flowchart options set in the diagram (such as curve style or spacing) are ignored. Other options, such as the hand-drawn look or Gantt and sequence settings, work.
  • Interactive features (clicks, links on nodes, tooltips) are not available.
  • Diagram types that need extra Mermaid packages, such as the ELK layout or icon packs, are not included.

About this part of Venolio: Docs and wikis your team edits together

Checked against the app on . The same help is built into the Venolio apps and works offline. Something wrong or missing? Tell us.