Show HN: Reladraw – A diagram language where you decide where to place things(github.com)
403 points by jpwalsh234 17 days ago | 119 comments
tl;dr: Reladraw is a text-based diagram language that sits between auto-layout tools (Mermaid, Graphviz, D2) and manual editors (draw.io, Excalidraw), using relative positioning syntax like "right of" and "below" so authors control layout without picking coordinates. It's a zero-dependency TypeScript CLI that compiles .reladraw files to SVG, with an installable skill for AI coding agents. Currently at v0.11.1—functional but with unstable syntax.
HN Discussion:
  • ↑Enthusiastic about the tool's value for AI-assisted development and diagramming alignment
  • ↓Challenges the premise by noting D2's TALA already provides manual layout control
  • ↑Agrees Mermaid falls short for flowcharts and relative positioning is a good solution
  • ~Reports bugs, rendering issues, or usability problems with the current implementation
  • •Curious about architecture, extensibility (data sources, render backends) beyond the current design