Skip to content
Mernyx

A Mermaid editor that renders natively on your Mac.

Write Mermaid in the source pane, drag and restyle nodes on the canvas — the source follows. Export as PNG, SVG or PDF.

The Mernyx window with a Mermaid flowchart open. The source editor on the left shows six syntax-highlighted lines with the C node highlighted; the canvas in the middle shows the rendered diagram with the 'Let me think' diamond selected; and the properties inspector on the right shows that same node's display name, fill, border, text colour, width, opacity and shape.The Mernyx window with a Mermaid sequence diagram open. The source editor on the left lists the sequenceDiagram code with one line highlighted, and on the canvas an 'Order confirmed' message label is open in an inline text field, ready to be renamed.The Mernyx window with an AI prompt open. The prompt reads 'Mindmap of everything in a product launch'; the canvas shows the generated mindmap, with yellow, green and purple branches around a central 'Product Launch' node, and the source editor on the left lists the mindmap code.The Mernyx 'New from Template' window. A sidebar lists template categories with counts, and the main area holds a grid of diagram thumbnails — flowchart, state, block, swimlane, use case, class, ER, architecture and more — with a 'New Document' button at the bottom right.The Mernyx export sheet over a dimmed flowchart window. Format is PNG, appearance Light, scale 2x, margin 0 pt and the background transparent; a preview of the diagram sits on the left and the Export button at the bottom right.A Finder window and a Quick Look preview. In Finder, 'mernyx-aso-icon' shows the thumbnail of quick-look-sequence.mmd; the Quick Look panel beside it previews that file's Mermaid sequence diagram — Customer, Store, Payment and Ledger — with an 'Open with Mernyx' button in its title bar.

01

All three panes edit the same document.

christmas-flow.mmd
flowchart TD
    A[Christmas] -->|Get money| B(Go shopping)
    B --> C{Let me think}
    C -->|One| D[Laptop]
    C -->|Two| E[iPhone]
    C -->|Three| F[Car]
    style C color:#ffffff,fill:#F4431E
  • 01

    Edits write back as Mermaid

    Add a node, connect two, drag an edge, paste. What the canvas writes is standard Mermaid — not a sidecar file, not a private format.

  • 02

    Properties are Mermaid too

    Fill, stroke, text colour, width and opacity become ordinary style rules, and the inspector says where the style came from.

  • 03

    One undo, not thirty

    Consecutive property edits merge into one text undo. ⌥⌘I tidies the document without touching comments or statement order.

02

No WebView. No JavaScript bridge. No Electron.

Most Mermaid tooling is a browser wearing a desktop costume.

Drawn by AppKit

Every node is a real view, not a div pretending to be one. Scrolling stays smooth because there is no document to reflow.

  • AppKit
  • NSView
  • CoreGraphics

Layout computed natively

Geometry comes from a dedicated layout engine, not a web view. Mernyx is not dependency-free — it is just not a browser.

  • Layout engine
  • No JavaScript

Files, not documents

Open any .mmd or .mermaid file from Finder. Preview it in place with Quick Look, and see thumbnails without launching it.

  • .mmd
  • .mermaid
  • Quick Look

03

34 diagram families

Each family has its own syntax-highlighting keyword table, its own layout, and its own editing rules.

Flowchart

Sequence diagram

Class diagram

State diagram

ER diagram

Mindmap

Architecture diagram

Requirement diagram

Block diagram

Swimlane diagram

Agent flow diagram

Use case diagram

Pie chart

Gantt chart

Quadrant chart

Radar chart

Treemap

Kanban diagram

Packet diagram

Info diagram

Timeline

Sankey diagram

User journey

Venn diagram

C4 diagram

Cynefin diagram

Git graph

XY chart

Wardley map

Railroad diagram

ZenUML diagram

Event modeling diagram

Ishikawa diagram

Tree view

Coverage means every family has a template that compiles to a non-empty scene. It does not mean every syntax and visual detail is finished.

04

The icon is drawn, not spelled out

Mermaid spells an icon as fa:fa-user — GitHub’s Mermaid renderer draws those letters instead of the icon.

icons.mmd
flowchart LR
  A([fa:fa-user User]) --> B([fa:fa-server Server])
  B --> C([fa:fa-database Database])
A left-to-right flowchart of three boxes labelled User, Server and Database, each with a small Font Awesome Free icon in front of its label: a person, a server rack and a database cylinder.
Icons: Font Awesome Free, CC BY 4.0
  • The whole free set, in the app

    Font Awesome Free 7.3.1 ships inside Mernyx — 2,163 icons in the solid, regular and brands styles. Nothing to install: the glyphs are in the binary, and the file you export does not need them.

  • The export carries the outline

    The icon goes into the SVG as a path, not as a font name. Open that file with no Font Awesome Free installed and the icon is still there, scaling with the drawing.

  • The node can be the icon

    A node can be the icon itself: @{ icon: "fa:user" } draws a frame around the glyph with the label on a band outside it.

05

Describe the diagram, or fix the one that won’t compile.

Both run on your own endpoint and your own key. The model only ever writes Mermaid source — Mernyx still compiles, lays out and draws it, and nothing reaches your file until you approve it.

Generate a diagram from a sentence

Type into the bar at the bottom of the canvas. The source streams into the editor and the canvas draws it as it arrives, so you can read every line before it lands. If it does not parse, the model tries again.

Fix the one that will not compile

When the source does not parse, the diagnostics bar offers Fix with AI. The file and its diagnostics go to your model, and the result comes back as a line diff first. Apply appears only when the error count went down — the engine decides, not the model.

  • Your endpoint, your key

    Any OpenAI-compatible endpoint — OpenAI, OpenRouter, DeepSeek, Groq, or a local model via Ollama or LM Studio. The key sits in your macOS keychain; no account, no server in between.

  • A model writes, the engine draws

    The model returns Mermaid source and nothing else. Layout, colours and shapes are still Mernyx’s, so a generated diagram is drawn by the same renderer as one you drew by hand.

  • Review, then apply

    Both paths end in Apply or Discard. Discard never touches the document and never enters the undo stack; Apply replaces it in one step you can undo with ⌘Z.

Everything else the window does

Export

PNG, SVG and PDF, all produced from the same Scene. A few primitives still come out slightly differently in the raster exports.

Format Document

⌥⌘I normalises whitespace and flowchart indentation, without touching tokens, comments or statement order.

Source ↔ canvas linkage

The canvas highlights the node your caret is on, scrolling only if it is off-screen. Toggle in Settings › Canvas › Linkage.

Quick Look & thumbnails

Preview .mmd and .mermaid files straight in Finder, with scroll-zoom, drag-pan and system light/dark.

Samples & templates

14 scenario samples, plus a starting skeleton for every one of the 34 families, in 5 searchable categories.

Keyboard-first

Menu items enable per family and per selection, and the shortcuts and the menu share one binding table.

Diagnostics with positions

Each family merges its own keyword table with engine facts, so a diagnostic with a location is marked as a source range.

Optional canvas grid

Off by default, and it never affects exported output.

The Mermaid cheat sheet

Mermaid's language is documented across dozens of families. The cheat sheet covers the core ones.

Questions

Draw it natively.

Mernyx is a single native window: source on the left, a real vector canvas in the middle, properties on the right.