The workbench 04 Diagram studio

A browser studio for Mermaid diagrams

Make a diagram worth presenting.

Write Mermaid with a live preview, style the diagram on the canvas, and use scenes to walk an audience through it. Export a static image, a project file, or a self-contained HTML presentation.

The Meridian editor showing the Edge to cloud diagram with Mermaid source beside the canvas
The Edge to cloud example in Meridian.
01 The starting point

A working diagram often needs a second pass.

Mermaid makes it easy to keep a diagram beside the system it describes. When it comes time to explain that system, Meridian gives the same diagram a canvas for adjusting how it looks and deciding what to show first.

02 What it does

The pieces that matter.

01

Edit the source live

Update Mermaid beside the canvas. The last good diagram stays visible when the text is temporarily incomplete.

02

Work through it in scenes

Use visibility, highlights and connector motion to focus each step of a presentation.

03

Take the project with you

Download editable project JSON, SVG or PNG images, or a standalone HTML presentation.

03 / Try the idea

Read the source behind the diagram

The example connects a field endpoint through an edge gateway to four core services. Open its Mermaid source below, then load Edge to cloud from Browse examples to edit it yourself.

View the Mermaid source
flowchart LR
    endpoint([Field endpoint]) --> gateway[Edge gateway]

    subgraph core["CORE SERVICES"]
        policy[Policy engine]
        stream[[Event stream]]
        store[(Data store)]
        observe[Observability]
    end

    gateway -->|Authorize| policy
    gateway -->|Publish| stream
    gateway -->|Persist| store
    gateway -.->|Telemetry| observe

    classDef default font-size:18px

The example is built into the studio.

Try the example in Meridian
04 Behind the decisions

What made this interesting to build.

Tradeoff 01

Keep the Mermaid text readable

Canvas styling and storyboard scenes are stored separately from the source, so the Mermaid text stays ready to reuse elsewhere.

Tradeoff 02

Keep authoring local

The studio runs in the browser without an account. The workspace stays in browser storage, and a downloaded project file is a portable backup.

Explore the real thing, or keep looking.

Open Meridian Read the storyboard guideOther projects