Skip to content

RuniqDiagram DSL with JSON Twin

Create beautiful, standards-compliant diagrams with plain text. Two inputs, one AST, pure SVG output. Live demo - Render Runiq DSL to SVG in your browser.

Runiq Banner

Quick Example โ€‹

runiq
diagram "Auth Flow"
direction LR

style default fill:#f7f7ff strokeColor:#444
style decision fill:#fff7e6 strokeColor:#aa7700

shape User     as @actor   label:"Visitor"
shape Landing  as @rounded label:"Landing Page"
shape Check    as @rhombus label:"Signed up?" style:decision
shape Welcome  as @hexagon     label:"Welcome"

User -> Landing : visits
Landing -> Check
Check -yes-> Welcome
Check[no]  -> Pricing : reads
Auth Flow Diagram

Use Cases โ€‹

Software Engineering

Create flowcharts, sequence diagrams, use case diagrams, class diagrams, state machines, ER diagrams, and architecture diagrams with clean, readable syntax.

Control Systems

Design PID controllers, feedback loops, and state-space models. Export to LaTeX for papers or Simulink for simulation.

Schematic/Electrical Engineering

Define analog circuits and export SPICE netlists for simulation. Generate professional IEEE-standard schematics.

Digital Design

Create logic circuits with gates (AND, OR, XOR, etc.). Export Verilog HDL for synthesis and simulation.

Why Runiq? โ€‹

Version Control Friendly - Plain text format means easy diffs, meaningful code reviews, and full Git history.

No Vendor Lock-in - Open source, open format. Your diagrams belong to you, forever.

Extensible - Pluggable shapes, icons, layout engines, and themes. Build custom exporters and renderers.

Standards Compliant - Pure SVG 1.1/2.0 output. Works everywhere SVG works.

Developer First - Built by developers, for developers. TypeScript all the way down.

Recent Updates โ€‹

October 31, 2025 - v0.1.0 Released! ๐ŸŽ‰

  • โœ… 142+ shapes across 17 categories
  • โœ… Quantum circuits, BPMN, AWS, ERD, DFD support
  • โœ… UML relationship support (stereotypes, line styles, arrow types)
  • โœ… Control system diagrams with LaTeX and Simulink export
  • โœ… Electrical & digital circuits with SPICE/Verilog export
  • โœ… Hierarchical containers for complex architectures
  • โœ… 705+ tests passing

View Full Changelog โ†’

Community & Support โ€‹


Built with โค๏ธ using Test-Driven Development

Released under the MIT License.