Mermaid: Diagramming and Charting Tool
Mermaid is a JavaScript tool for creating diagrams and charts, featuring a Live Editor for collaboration, winning the 2019 JavaScript Open Source Award, and supporting various application integrations.
Read original articleMermaid is a JavaScript-based diagramming and charting tool that allows users to create and modify diagrams dynamically using Markdown-inspired text definitions. It features a Live Editor for real-time collaboration, making it easy to design detailed diagrams and charts. The tool has received recognition, winning the 2019 JavaScript Open Source Award for "The Most Exciting Use of Technology." Additionally, Mermaid offers various integrations with popular applications, enhancing its usability across different platforms. The project is supported by a dedicated team of developers and sponsors, encouraging community involvement and contributions.
- Mermaid is a JavaScript tool for creating diagrams and charts.
- It features a Live Editor for collaborative diagramming.
- The tool won the 2019 JavaScript Open Source Award.
- Mermaid supports integrations with various applications.
- The project encourages community participation and contributions.
Related
SankeyMaster – Ultimate Sankey Diagram
SankeyMaster app on Apple Store creates Sankey charts for iOS, macOS, and visionOS. Features include easy data entry, drag-and-drop adjustment, rich colors, and privacy measures. Priced at $5.99, supports multiple languages.
React Flow 12: node-based UIs with computing flows and server-side rendering
React Flow 12 introduces SSR, dark mode, and computing flows. It's a customizable React component for node-based editors. Features include dragging nodes, zooming, and plugins for advanced applications. Used by companies like Stripe and Typeform.
CodeMirror: Extensible code editor component for the web
CodeMirror is a versatile web code editor with accessibility, syntax highlighting, collaborative editing, and more. It supports multiple languages, offers extensive features, and encourages community contributions and discussions.
Mermaid Gantt diagrams are great for displaying distributed traces in Markdown (2023)
Mermaid Gantt diagrams offer a Markdown-friendly solution for visualizing distributed trace information. By repurposing traditional scheduling tools, users can create clear trace diagrams resembling OpenTelemetry traces, enhancing documentation and web compatibility.
Mermaid Gantt diagrams are great for displaying distributed traces in Markdown
Mermaid Gantt diagrams, shared by @mitsuhiko, offer a new way to visualize distributed trace information in Markdown. This method enhances understanding of system interactions and trace data in documentation.
- Many users appreciate Mermaid's text-based format, which allows for easy version control and integration with markdown.
- Some users express frustration with the need for a browser engine to render diagrams, suggesting it complicates usage.
- Users note the lack of visual customization and varying syntax across diagram types as drawbacks.
- Several comments mention the tool's integration with platforms like GitHub, GitLab, and Azure DevOps, enhancing its utility.
- Overall, users find Mermaid useful for simple diagrams but suggest improvements for more complex needs.
[0] https://docs.gitlab.com/ee/user/markdown.html
[1] https://github.blog/developer-skills/github/include-diagrams...
Don’t love that each diagram type typically has significantly different syntax.
Also don’t love (as mentioned by another commenter) the lack of control over layout—yea there are some advanced options for this but I find them obscure and difficult to configure.
I did create an internal tool that scans my Firestore data model and outputs an ER Diagram in mermaid. Works really nicely for that.
But again, for simple stuff, mermaid! It's also natively supported in a lot of markdown renderers, like gitlab
Initially it was fun, although MermaidJS lacked support for the diagram types I used at that time.
What stooped to be fun, is that MermaidJS needs a whole Chromebrowser engine to render the diagrams and it is built on Node.js.
Trying to generate my diagrams in another environment again was a total PITA and not worth the time.
I would love if the MermaidJS devs would port everything to another tech stack, don't use a whole browser engine to render their diagrams and make diagram creation easy and reproducible for build piplelines.
The fact that it's written in plain text makes it ideal for versioning with git. You can ever update the diagram in the same patch that changes a flow.
This website design seems to be new, and it's quite disappointing that there's not a single diagram in sight. It seems like a missed opportunity, where the whole page could be filled with examples (both in text form and the rendered version).
[0] https://learn.microsoft.com/en-us/azure/devops/project/wiki/...
- Can be embedded as code blocks in straight markdown notes (and many markdown editors support rendering)
- Since it's not a graphic, it's text searchable
Mermaid Cons
- if you don't like the way the diagram is visually laid out there's not really an easy way to change it
Love the ability to version control your charts as well as write them out quickly without involving a design team and still have them look pretty good.
It is especially nice combined with mkdocs and the mermaid plugin when doing documentation.
It is a great tool for diagrams
Related
SankeyMaster – Ultimate Sankey Diagram
SankeyMaster app on Apple Store creates Sankey charts for iOS, macOS, and visionOS. Features include easy data entry, drag-and-drop adjustment, rich colors, and privacy measures. Priced at $5.99, supports multiple languages.
React Flow 12: node-based UIs with computing flows and server-side rendering
React Flow 12 introduces SSR, dark mode, and computing flows. It's a customizable React component for node-based editors. Features include dragging nodes, zooming, and plugins for advanced applications. Used by companies like Stripe and Typeform.
CodeMirror: Extensible code editor component for the web
CodeMirror is a versatile web code editor with accessibility, syntax highlighting, collaborative editing, and more. It supports multiple languages, offers extensive features, and encourages community contributions and discussions.
Mermaid Gantt diagrams are great for displaying distributed traces in Markdown (2023)
Mermaid Gantt diagrams offer a Markdown-friendly solution for visualizing distributed trace information. By repurposing traditional scheduling tools, users can create clear trace diagrams resembling OpenTelemetry traces, enhancing documentation and web compatibility.
Mermaid Gantt diagrams are great for displaying distributed traces in Markdown
Mermaid Gantt diagrams, shared by @mitsuhiko, offer a new way to visualize distributed trace information in Markdown. This method enhances understanding of system interactions and trace data in documentation.