SPEC // EDITORIAL SVG COMPILER
Explore the example for free

✨ Built on the open-source diagram-design specification — Instant Web Playground, Zero CLI Setup

Editorial Diagram Design Playground & AI Beautifier

Use the online Diagram Design playground as a Mermaid Beautifier: paste code, import a .drawio file, or describe your system. Create publication-grade Editorial SVG with clear hierarchy, precise connectors, and typography made for presentations—all in your browser.

01 // GEOMETRY

4px Grid

Integer coordinate snap & drag-to-nudge

02 // GRAMMARS

41 Types

Architecture, Sequence, ER, Sankey & more

03 // CONTRAST

WCAG ≥ 4.5

Auto-calibrated 5-token brand color kit

04 // ENGINE

DeepSeek

deepseek-flash

|workbench://architecture.mmd
10 nodes / 9 connectionsengineer MODE
Checking geometry…
Example preview
A clear path from request to insight.A faithful ten-node microservice system. The gateway routes requests to authentication, orders and catalog services. Dedicated storage and an event-driven analytics path are retained.SERVICE TIERDATA TIERA clear path from request to insight.EDITORIALDIAGRAM / EDITORIAL SAMPLEHTTPSAUTHENTICATESROUTESQUERIESREADSWRITESCACHESPUBLISHESWeb AppCUSTOMER EXPERIENCEAPI GatewayREQUEST ROUTINGAuth ServiceIDENTITY & ACCESSOrders ServiceORDER LIFECYCLECatalog ServicePRODUCT DISCOVERYUser DBPOSTGRESOrders DBPOSTGRESCacheREDISEvent BusASYNC EVENTSAnalytics WorkerBUSINESS SIGNALS
EditSelect an element on the canvas to edit
Fill
Stroke
OUTPUT

Take it with you

architecture · engineer

Free PNG includes an EditorialDiagram watermark.

STARTER & PRO PASSThin lines. Considered type. No shadows.

01VISUAL BENCHMARK // MERMAID VS. EDITORIAL SVG

Why Use an Online Diagram Design Playground Instead of Native Mermaid?

Native Mermaid captures relationships; editorial Diagram Design also shapes how people read them. Use this Mermaid Beautifier to address four visual gaps: routing, hierarchy, color, and typography. Compare the same ten components in a crowded source-style drawing and an Editorial SVG layout below.

Mermaid slop · illustrative layout anti-patternsRAW MERMAID
The same ten-node system in a crowded source-style layoutIllustrative Mermaid and Draw.io anti-patterns: diagonal crossings, equally weighted boxes, unrelated fills and drop shadows. These are avoidable choices, not editor limitations.Web AppAPI GatewayAuth ServiceOrders ServiceCatalog ServiceUser DBOrders DBCacheEvent BusAnalytics Worker
Routing
Diagonal shortcuts and unmarked crossings make unrelated paths look connected.
Hierarchy
Equal-size boxes give the gateway, business services, and databases the same visual weight.
Color & depth
Unrelated pastel fills and drop shadows compete with the architecture itself.
Typography & export
Default-looking labels leave little distinction between names, roles, and relationship annotations.
Editorial Diagram Design · the same ten components4PX EDITORIAL SVG
A clear path from request to insight.A faithful ten-node microservice system. The gateway routes requests to authentication, orders and catalog services. Dedicated storage and an event-driven analytics path are retained.SERVICE TIERDATA TIERA clear path from request to insight.EDITORIALDIAGRAM / EDITORIAL SAMPLEHTTPSAUTHENTICATESROUTESQUERIESREADSWRITESCACHESPUBLISHESWeb AppCUSTOMER EXPERIENCEAPI GatewayREQUEST ROUTINGAuth ServiceIDENTITY & ACCESSOrders ServiceORDER LIFECYCLECatalog ServicePRODUCT DISCOVERYUser DBPOSTGRESOrders DBPOSTGRESCacheREDISEvent BusASYNC EVENTSAnalytics WorkerBUSINESS SIGNALS
Routing
Orthogonal routes with r=8 elbows separate request traffic, storage access, and event delivery.
Hierarchy
Service and data tiers, shorter storage nodes, and role labels establish a deliberate reading order.
Color & depth
Five semantic color tokens, fine borders, and a restrained coral focal treatment keep attention on the system.
Typography & export
Instrument Serif, Geist, and Geist Mono assign distinct roles. SVG keeps text and geometry editable; vector export is a paid feature.

The source-style drawing deliberately illustrates avoidable layout choices. Mermaid and Draw.io can both be styled well; this comparison explains the editorial decisions rather than a limitation of either editor.

02TOPOLOGY COMPRESSION // 3 AUDIENCE DENSITIES

Audience-Aware Diagram Design: Engineer (1:1) vs. Executive Mode

Audience-aware Diagram Design adapts one system for different readers. Engineer mode preserves components 1:1, Mixed mode groups related implementation details, and Executive mode reduces the system to its core capabilities. The example below shows the progression from 24 nodes to 12, then 7 for an executive presentation.

Engineer (1:1 · 24 Nodes)

24/24 NODES · 1:1 FAITHFUL
engineer: one commerce system, 24 nodesIllustrative aggregation of the same 24 components into 12 service pairs and then seven capabilities, keeping Cart and Orders distinct within Checkout. Each rectangle records its source members. Connectors in the engineer view mark the two components that merge into one node at the next density.ACCESSCATALOGCHECKOUTPAYMENTSDELIVERYINSIGHTSWeb AppAPI GatewayAuth APIUser DBCatalog APIProduct DBSearch APISearch IndexCart APICart CacheOrders APIOrders DBBilling APIBilling DBPayment AdapterReceipt WorkerShipping APIShipment DBEvent BusDispatch WorkerCollectorEvent StoreAnalytics WorkerReport API

Keep all 24 components separate: APIs, databases, caches, adapters, and workers. This is the view for reviewing ownership and implementation dependencies before making an architecture decision.

Mixed (12 Nodes)

12/24 NODES · PRODUCT
mixed: one commerce system, 12 nodesIllustrative aggregation of the same 24 components into 12 service pairs and then seven capabilities, keeping Cart and Orders distinct within Checkout. Each rectangle records its source members. Connectors in the engineer view mark the two components that merge into one node at the next density.ACCESSCATALOGCHECKOUTPAYMENTSDELIVERYINSIGHTSEntryIdentityProductsSearchCartOrdersBillingSettlementShippingDispatchCollectionReporting

Combine each service with its dedicated store or closely related worker. Twelve named responsibilities retain Access, Catalog, Checkout, Payments, Delivery, and Insights without making every audience read infrastructure details.

Executive (7 Nodes)

7/24 NODES · EXECUTIVE
executive: one commerce system, 7 nodesIllustrative aggregation of the same 24 components into 12 service pairs and then seven capabilities, keeping Cart and Orders distinct within Checkout. Each rectangle records its source members. Connectors in the engineer view mark the two components that merge into one node at the next density.ACCESSCATALOGCHECKOUTPAYMENTSDELIVERYINSIGHTSAccess4 nodesCatalog4 nodesCart2 nodesOrders2 nodesPayments4 nodesDelivery4 nodesInsights4 nodes

Reduce the twelve responsibilities to seven capabilities: Access, Catalog, Cart, Orders, Payments, Delivery, and Insights. Keep Cart and Orders distinct within Checkout so the executive presentation retains that decision point. Use the detailed view when a specific storage or recovery path matters.

Illustrative audience reduction: 24 → 12 → 7 nodes. Every grouped node records its original members. In the engineer view, connectors mark the two components that merge into one node at the next density; they are not runtime calls. The interactive sample above is a separate ten-node system.

03COMPILER SPECIFICATION // 6 GEOMETRIC LAWS

The 6 Editorial Diagram Design Principles & Geometry Laws

These Diagram Design tips turn the editorial specification into repeatable rules for spacing, routes, emphasis, color, and type. The playground checks geometry and supports 4px drag adjustments when a layout needs a final correction.

LAW 01grid

4px Grid

Align node coordinates, widths, heights, and corner radii to multiples of four. A shared grid makes tiers line up, gives labels predictable clearance, and lets small manual adjustments remain consistent.

LAW 02elbows

Orthogonal r=8 Elbows

Route off-axis architecture and flow connectors through horizontal and vertical segments with 8px rounded turns. Keep arrows away from labels. Charts such as Sankey and polar plots retain the curves their data encoding requires.

LAW 03focal

Single Accent Focal Rule

Choose a primary decision, integration point, or bottleneck as the visual focus. Reserve coral for that story and keep supporting components quiet. Labels and shapes must still communicate meaning when color is removed.

LAW 04tokens
--paper--ink--muted--soft--accent

5 Semantic Color Tokens

Use --paper for the canvas, --ink for primary text, --muted for annotations, --soft for quiet boundaries, and --accent for emphasis. Change the palette without changing what each visual role means.

LAW 05type

Instrument Serif + Geist Typography

Set editorial headings in Instrument Serif, component names in Geist, and technical annotations in Geist Mono. Distinct text roles separate the diagram’s story from implementation details without adding decoration.

LAW 06brand

WCAG AA Brand Extraction

Enter a public brand URL to extract the five-color palette. The extractor checks ink against paper at a minimum 4.5:1 contrast ratio and corrects that pair when needed. Review the full diagram separately for accessibility.

0441 EDITORIAL GRAMMARS // FULL TAXONOMY

41 Diagram Design Types & Layout Grammars

Choose the grammar that matches your question: software relationships, product decisions, or quantitative data. Each entry links to its own public guide. Ten types include dedicated interactive examples; the others explain the layout and how to prepare your source for the workbench.

05SPECIFICATION FAQ

Diagram Design & SVG Beautifier FAQ

Deterministic SVG architecture, token billing, and vector export specifications.

What is Editorial Diagram Design?

Editorial Diagram Design applies a consistent visual specification to a diagram: a 4px grid, orthogonal connectors with r=8 elbows, one accent focal point, five semantic color tokens, and clear typography roles. A Mermaid theme changes an existing rendering’s appearance; this playground rebuilds the source topology as an editorial SVG layout for your audience. Review generated diagrams against the source before presenting them.

Can I run the Claude Code diagram-design skill online in my browser?

You can use the open-source diagram-design skill’s editorial specification and 41 layout grammars in this online Diagram Design playground, with no local Claude Code installation or CLI setup. Paste Mermaid or describe your system, choose an audience, and generate an editorial SVG layout. Cached examples are free to explore; new AI generations require an account and credits. The workbench identifies the exact runtime model: custom diagram generation currently uses DeepSeek, with the configured model ID shown beside the Generate button (default: deepseek-flash).

Can the Mermaid Beautifier import .drawio files and simplify diagrams for executives?

Yes. The Mermaid Beautifier accepts Mermaid code and plain text; paid plans also support .drawio and Excalidraw file imports and full Executive generation. Engineer mode preserves detailed components and connections, Mixed mode summarizes related components into up to 12 nodes, and Executive mode reduces them to no more than seven core capabilities with a simplification note. This page illustrates 24 → 12 → 7 nodes. Use Engineer mode to review details hidden by the summaries.

What can I try free, and can I export an editable SVG?

You can explore cached examples, change their audience views, and try local color presets without signing in or spending AI credits. New AI generations require an account and credits. The workbench shows the exact configured DeepSeek model used for generation (default: deepseek-flash). The free plan supports Mermaid or text input and standard PNG export. Paid plans unlock file imports, full Executive generation, editable SVG, Figma clipboard, HTML, and higher-resolution PNG exports. Check the plan shown in the workbench before exporting.

What is the difference between Engineer, Mixed, and Executive mode?

Engineer mode keeps every source node and connection 1:1 for technical review. Mixed mode groups related implementation details into up to 12 nodes while preserving the important relationships. Executive mode summarizes the diagram into no more than seven core stages and shows a simplification note. In the proposal-review example, Mixed stays at six nodes because the source already fits the limit; Executive combines Publish proposal and Notify team into one stage, leaving five nodes.