Mermaid online editor: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
No edit summary
Line 6: Line 6:


== Why use Mermaid syntax ==
== Why use Mermaid syntax ==
Why use Mermaid syntax instead of traditional drawing methods. Now AI can be asked to "use Mermaid syntax to draw XX flowchart".
Why use Mermaid syntax instead of traditional drawing methods. Now you can ask AI to "use Mermaid syntax to draw XX flowchart" to conveniently generate Mermaid syntax.


The advantage of using Mermaid syntax to draw flowcharts is that '''it's text-based''', making it convenient to update. Then tools can be used to convert it into image files.
The advantage of using Mermaid syntax to draw flowcharts is that '''it's text-based''', making it convenient to update. Then tools can be used to convert it into image files.

Revision as of 11:49, 3 April 2025

Convert Mermaid syntax to png (or other image files)

🌐 Switch language: English, 漢字



icon_scale_pencil.png This article "Mermaid online editor" is still being written. If there are any incomplete parts, you are welcome to directly edit them. 這篇文章「Mermaid online editor」內容還在撰寫中,如果有不完整的部分,歡迎你直接動手修改


Why use Mermaid syntax

Why use Mermaid syntax instead of traditional drawing methods. Now you can ask AI to "use Mermaid syntax to draw XX flowchart" to conveniently generate Mermaid syntax.

The advantage of using Mermaid syntax to draw flowcharts is that it's text-based, making it convenient to update. Then tools can be used to convert it into image files.

List of Mermaid online editor

Online FlowChart & Diagrams Editor - Mermaid Live Editor

  • Output format: (1) Download image files png, svg, kroki or (2) Copy to clipboard

Excalidraw | Hand-drawn look & feel • Collaborative • Secure

  • Output format: (1) Download image files png & svg (2) Copy png or svg to clipboard
  • Comments: In addition to online editing: modifying shape forms, adding colors, you can also export Mermaid flowchart files in a handwritten font style Good.gif
  • Example: link

Editor | Mermaid Flow

  • Output format: Download png, pdf & svg files

Example Mermaid syntax

Example Mermaid syntax of Triple point - Wikipedia

graph TD
    A[Solid State Ice] -- Melting --> B[Liquid State Water]
    B -- Freezing --> A
    B -- Vaporization/Boiling --> C[Gas State Vapor]
    C -- Condensation --> B
    A -- Sublimation --> C
    C -- Deposition --> A
    
    D[Triple Point<br/>Temperature: 273.16 K / 0.01°C<br/>Pressure: 611.657 Pa] --- A
    D --- B
    D --- C

    style D fill:#f9f,stroke:#333,stroke-width:2px