Write Mermaid text and render flowcharts, sequence diagrams, Gantt charts, mind maps and ER diagrams to SVG or PNG.
写 Mermaid 文本即可渲染流程图、时序图、甘特图、思维导图与 ER 图,可导出 SVG 或 PNG。
A Mermaid renderer that turns a few lines of text into a real diagram. Flowcharts, sequence diagrams, Gantt charts, class diagrams, ER diagrams, mind maps, state machines and pie charts are all supported, and the result is rendered as crisp SVG you can download or export to PNG. Because the source is text, diagrams live in version control, diff cleanly in review, and can be generated from a script.
一个把几行文本变成真正图表的 Mermaid 渲染器。流程图、时序图、甘特图、类图、ER 图、思维导图、状态图与饼图都支持,输出是可下载、可导出 PNG 的清晰 SVG。因为源码就是文本,图表可以进版本控制、在评审里干净地 diff,也能由脚本批量生成。
Only the basics, and the defaults in the editor are a working flowchart you can edit in place. Each diagram type has a small, regular syntax; the error message from the renderer points at the offending line when something is off.
只需要基础,而且编辑器里预置的默认流程图本身就是可直接改的可用示例。每种图的语法都很规整;写错了,渲染器报错会指出问题所在行。
Flowchart, sequence diagram, Gantt chart, class diagram, ER diagram, mind map, state diagram and pie chart. The dropdown in the editor switches between them.
流程图、时序图、甘特图、类图、ER 图、思维导图、状态图与饼图,编辑器下拉框可切换。
The source always is — the diagram is generated from it. Change the text, re-render, and you have a new diagram; no drawing required.
源码永远可以改——图表由源码生成。改文字重新渲染就是新图,不需要手绘。
Yes. The Mermaid library is served from this site, so once the page loads the rendering is local.
可以。Mermaid 库由本站提供,页面加载后渲染在本地完成。
Paste CSV or JSON and get a bar, line, pie, doughnut, radar or s…
粘贴 CSV 或 JSON 数据,生成柱状图、折线图、饼图、雷达图与散点图,可下…
Render LaTeX maths with KaTeX, copy the source, and start from r…
用 KaTeX 渲染 LaTeX 数学公式,复制源码,并提供常用公式模板一键套用…
Build analogous, complementary, triadic and monochrome palettes …
从一个主色生成邻近色、互补色、三分色与单色渐变方案,检测与白色的对比度,导出 C…