Insert a diagram

Add a Diagram, Board, Excalidraw or Mermaid macro to a page.

1 min read

  1. Edit a page and type /, then choose Diagram, Board, Excalidraw or Mermaid diagram. The full-screen editor opens.
  2. Pick a template and give the diagram a name. A Diagram starts in draw.io's own template gallery; a Board starts blank and asks for a name when you publish.
  3. Draw your diagram, then press Publish (or Ctrl+S).
  4. Publish the page as usual.
Pick a template and name the diagram.

Built-in templates:

MacroTemplates
Diagramdraw.io's template gallery
ExcalidrawBlank, Flow, Mind map, Retrospective, Kanban
Mermaid diagramFlowchart, Sequence, Class, State, Entity relationship, Gantt, Pie chart, Mind map, Timeline, Git graph

Templates your admin added appear first, under Company. Press ✨ Describe it to AI… to have AI draw it instead.

Note: Names can be up to 200 characters and can't contain \ / : * ? " < > |. Each name must be unique on its page.

Still stuck? Email us a screenshot and your board link, or book a 15-minute call.