Convert Diagrams to Animated Markdy

Paste Mermaid, D2, PlantUML, Graphviz, Draw.io, Excalidraw, or infra configs for instant MarkdyScript and live motion.

$markdy import diagram.mmd --out diagram.markdy
Detected: Mermaid0 nodes · 0 flows
Conversion Notes
    diagram.mmd
    output.markdy
    Live Motion Preview

    How Concepts Translate

    Source ConstructMarkdyScript Output
    flowchart LR / rankdir=LRlayout LR
    sequenceDiagram / stateDiagram-v2scene type=sequence / type=state
    DB[(Postgres)] / shape=cylinderdatabase DB "Postgres"
    subgraph Core ... end / cluster_*group Core "Core": ...
    A -.-> B / style=dashedA ~> B (animated async event)

    Frequently Asked Questions

    How does converting Mermaid or D2 to Markdy work?

    Everything runs locally in your browser using @markdy/compat zero-dependency parsers. Your diagram source never leaves your machine: nodes, labels, semantic roles (database, queue, gateway, browser), groups, and edges are transpiled into animated MarkdyScript and rendered with the Web Animations API.

    Which Mermaid diagram types are supported?

    Flowcharts and graphs (LR, TB, TD, RL, BT, subgraphs, double shapes, & fan-out chains), Sequence Diagrams (participants, actors, sync/async arrows, activation markers), and State Diagrams (stateDiagram-v2, [*] start/end endpoints, composite states).

    Can I upload Draw.io, Excalidraw, Kubernetes, or Terraform files?

    Yes. Drop or upload .mmd, .d2, .puml, .dot, .gv, .drawio, .xml, .excalidraw, docker-compose.yml, Kubernetes YAML, or .tfstate files directly into the source pane. Auto-Detect identifies the format by filename and syntax.

    How do I convert diagrams from the CLI or an AI coding agent?

    Run `npx @markdy/cli import diagram.mmd --out diagram.markdy` in your terminal, or connect `@markdy/mcp-server` in Cursor, Claude, or Antigravity and invoke the `transpile_to_markdy` tool.