Simon Willison’s Weblog

Subscribe
Atom feed for mermaid

2 items tagged “mermaid”

2024

Mermaid Gantt diagrams are great for displaying distributed traces in Markdown. Bryce Mecum demonstrates how Mermaid gantt diagrams can be used to render trace information, such as the traces you might get from OpenTelemetry. I tried this out in a Gist and it works really well - GitHub Flavored Markdown will turn any fenced code block tagged mermaid containing a gantt definition into a neat rendered diagram.

# 16th July 2024, 10:10 pm / markdown, mermaid

2022

Datasette table diagram using Mermaid (via) Mermaid is a DSL for generating diagrams from plain text, designed to be embedded in Markdown. GitHub just added support for Mermaid to their Markdown pipeline, which inspired me to try it out. Here’s an Observable Notebook I built which uses Mermaid to visualize the relationships between Datasette tables based on their foreign keys.

# 14th February 2022, 7:43 pm / github, visualization, datasette, observable, mermaid