Please wait
Please wait
Formatly
Check it outA modern web workspace combining Markdown documentation with interactive visual diagramming (Chen ERD & Flowcharts), offering live two-way synchronization between text and canvas.
The Solution
A unified, split-screen studio where editing code updates the diagram, and moving or connecting visual nodes updates the code instantly.
Implementation
The interface is divided into three responsive panes:
Editor
Viewer
Outlines
The application also includes custom Chen ERD shapes, quick-connect arrows, color pickers, and instant PDF/Image export.
Decisions & Challenges
Decisions: Used @xyflow/react for high-performance canvas rendering, built a custom DSL parser (flowParser.ts), and implemented offline-first storage using Zustand.
Challenges: Synchronizing line numbers with wrapped text lines using LineHeightMirror, and preventing circular infinite update loops during bidirectional editing.
The Result
A fast, zero-setup engineering studio that makes database modeling and technical documentation intuitive, visual, and efficient.