Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Diagram & Mermaid Visual Editor

A lightweight web-based visual editor for Mermaid diagrams (especially flowcharts) using a drag-and-drop canvas plus live code editing and preview.

lite - version without D3 and not official Mermaid, but custom lightweight render ~50kb

D3Mermaid/tools - to produce minimal D3/Mermaid bundle ~1Mb, (full mermaid.min.js is ~3.5Mb)

Features

  • Visual Canvas

    • Drag-and-drop nodes
    • Create links by dragging from node handles
    • Zoom/pan, grid, snap-to-grid option
    • Multi-select with marquee selection and Ctrl/Cmd+click
    • Node shapes: rectangle, rounded, circle, diamond, stadium
  • Live Mermaid Code

    • Generates standard Mermaid flowchart code as you edit
    • Edit Mermaid code directly; changes are parsed back to canvas objects
  • Mermaid Preview

    • Renders the diagram using official Mermaid library
  • Object & Link Properties

    • Edit node IDs, labels, shapes, sizes, colors, parent relationships
    • Edit link labels, colors, endpoints
    • Search/filter objects by ID/label/type in selection dropdown
  • Import / Export

    • Save/load objects as JSON (preserves layout, hierarchy, canvas state)
    • Load Mermaid .mmd text and apply its layout to the canvas
    • Export:
      • Mermaid code (.mmd)
      • Preview SVG
      • Objects JSON

About

A fast visual editor for Mermaid flowcharts and diagrams, nodes. Edit on canvas, edit code, live preview.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages