Skip to content

RuniqDiagram DSL with JSON Twin

Create beautiful, standards-compliant diagrams with plain text. Two inputs, one AST, pure SVG output.

Runiq Banner

Quick Example โ€‹

runiq
diagram "Auth Flow" direction: LR

style default fill:#f7f7ff stroke:#444
style decision fill:#fff7e6 stroke:#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 @hex     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.

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 17, 2025 - v0.1.0 Released! ๐ŸŽ‰

  • โœ… 54 shapes across 9 categories
  • โœ… UML relationship support (stereotypes, line styles, arrow types)
  • โœ… Use case diagrams with actors and system boundaries
  • โœ… Block diagrams with LaTeX and Simulink 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.