Back to knowledge base Updated August 28, 2025

How do I create diagrams in Notion?

Notion offers two main approaches for creating diagrams in your workspace. The most direct method uses Mermaid.js code blocks, which let you create flowcharts, organizational charts, and basic process diagrams using simple text-based syntax. Additionally, you can embed diagrams from external tools like Whimsical, Miro, or Lucidchart for more advanced visual needs.

To create a diagram using Mermaid.js, type `/code` anywhere in your page and select the code block option. In the language dropdown, select "mermaid" as your programming language. Then, write your diagram code using Mermaid syntax—for example, `graph TD; A[Start] --> B{Decision}; B -- Yes --> C[End];` creates a simple flowchart. Once you click outside the code block, Notion automatically renders your diagram inline. This approach works well for basic flowcharts, organizational charts, and simple process maps, taking roughly 5-10 minutes to create depending on complexity.

However, Mermaid diagrams come with significant limitations. You'll need to learn the specific syntax, which can be challenging for non-technical users and error-prone even for experienced ones. The styling options are limited, and the diagrams remain static without any interactive features. Complex mind maps or detailed database diagrams are particularly difficult to create effectively using this method.

For more sophisticated diagram needs, embedding external tools provides better results. Create your diagram in a dedicated tool like Whimsical or Miro, then copy the public share link. In Notion, type `/embed` and paste the link to display your diagram directly in your page. This approach offers full visual editing capabilities, drag-and-drop interfaces, and real-time collaboration features that Mermaid can't match.

The choice between these methods depends on your specific needs and technical comfort level. Mermaid works best for quick, simple diagrams that you want to keep entirely within Notion and don't mind coding by hand. External embeds excel when you need beautiful, complex diagrams with interactive features or collaborative editing capabilities. Both approaches integrate seamlessly with your Notion workspace, allowing you to resize and position diagrams alongside your other content blocks as needed.

Give Notion Personal Finance Superpowers

Still manually tracking your spending in Notion? Use Latwy to connect your accounts and automatically sync your transactions each day. Learn more about Latwy, then start a free 30-day free trial.

Copyright © 2025 Amalgamated Hams LLC. All rights reserved.