Mermaid is a text-based diagramming tool used in Technical Documentation.
Writers use it to define flowcharts, sequence diagrams, class diagrams, and other visuals as source text that works well with Markdown and docs-as-code workflows.
Related concepts include Markdown and Docs as Code.