reladraw trades layout automation for direct spatial control via relative rules

By mapping diagram elements through explicit relative rules rather than algorithmic generation or absolute coordinates, reladraw targets developers who need repeatable, version-controlled architecture charts. The jury split over whether this syntax represents an ergonomic middle ground or an unnecessary layout burden.

JURY SCORE
74.7/ 100

ConsensusStrong Consensus
Judge Range72.5–76.5
EvidenceHigh Confidence
🤖

Autonomously generated. This product was selected by the automated daily curation process. The jury evaluation, scores, article text, and publication were generated automatically. No human edited the jury scores or verdict before first publication.

Selection and product detailsSource: show_hn ·Source snapshot: GitHub: 333 stars (Retrieved Sep 27, 2026) ·Website: https://github.com/reladraw/reladraw

Curation Metrics

  • Selection Mode: Automated daily curation
  • Selected by: System
  • Source Rank: 1

Product Overview

Product Summary

reladraw is a zero-dependency text-to-diagram compiler written in TypeScript. It provides a domain-specific language for relative coordinate layout, allowing users to build version-controlled SVG diagrams with manual structural control without absolute coordinates.


Jury Summary

The core design of reladraw tackles the major frustration of mainstream text-to-diagram tools like Mermaid and Graphviz: the lack of control over where nodes are rendered. When you make a minor modification in those tools, the auto-layout algorithm often reshuffles the entire layout. reladraw bypasses this by introducing a relative positioning language. Authors use commands like level with, right of, and on top-right to define explicit spatial layouts. This approach provides predictable results that compile down to clean SVGs with zero runtime dependencies, making it remarkably lightweight. However, the jury highlighted a significant usability trade-off. Without automatic routing, large charts require long chains of relative dependencies that can easily collapse or overlap when a central node is modified. A standout feature is the native AI agent integration skill, which allows developers to easily inject reladraw capability into tools like Claude Code and Cursor. This turns reladraw into a reliable target language for generative code engines that struggle with complex draw.io XML schemas. The project is tightly focused, but its syntax is still unstable and lacks robust visual debugging indicators.

WHERE THE JURY AGREED

  • ✓

    The relative placement paradigm successfully addresses the unpredictable node-shifting common in Mermaid layout engines.

  • ✓

    The zero-dependency TypeScript implementation provides a fast and lightweight compilation pipeline.

  • ✓

    Native agent skills represent a strategic distribution channel for modern developer workflows.

WHERE THE JURY SPLIT

  • usability onboarding

    The usability of raw text relative layout vs automatic layout. Alex and Lisa feel the cognitive load of chaining relative nodes is too high for manually drafted diagrams, while David and Sarah view this constraint as a necessary trade-off for deterministic, version-controlled system architecture representations.

Five Jury Perspectives

Five simulated professional perspectives scored the same public evidence using the JuryPress Open Product Rubric.

Alex, Serial Entrepreneur

Alex

Serial Entrepreneur

SCORE72.5

On a busy Monday morning, a founder trying to draft a system architecture diagram will quickly find that reladraw requires too much spatial planning. The tool is compelling for AI agents, but manual developers will struggle with layout maintenance as diagrams expand. It remains a promising niche utility rather than a general-purpose replacement for quick drawing tools.

  • The agent skill installation provides immediate integration with modern AI coding environments.
  • Deterministic rendering means diagrams will not randomly reshuffle when you update a minor text label.

Users face a steep cognitive climb when building layout chains because a single mistake breaks the spatial flow.

Introduce an interactive tutorial in the playground that lets users debug a broken layout climb step by step.

Criterion: usability onboarding
View full scorecard
purpose usefulness
4 / 5(Weighted: 16.0)

The utility is clear for developers who want versionable architecture diagrams that do not shift unpredictably. The target audience of developers and automated agents is well-defined.

Confidence: high
implementation evidence
3.5 / 5(Weighted: 14.0)

The online playground works and the npm package installs smoothly, though the absence of formal test fixtures limits overall validation.

Confidence: medium
Limitations:
  • Could not verify CLI execution safety in continuous integration contexts.
technical quality
3.5 / 5(Weighted: 14.0)

The parser and compile pipeline are clean, but there is no runtime validation of deep layout chains.

Confidence: medium
Limitations:
  • Lack of visible unit tests makes parser stability hard to guarantee.
usability onboarding
3 / 5(Weighted: 9.0)

Chaining relative coordinate keywords manually is hard to conceptualize without real-time visual syntax errors.

Confidence: high
differentiation insight
4.5 / 5(Weighted: 13.5)

By creating a language that sits directly between absolute coordinates and fully automatic layout engines, reladraw targets a real and painful gap.

Confidence: high
project health stewardship
3 / 5(Weighted: 6.0)

The syntax is explicitly marked as unstable, and the repo shows only v0.8.0 with minimal external contributors.

Confidence: medium
David, Principal Software Engineer

David

Principal Software Engineer

SCORE76.0

The design of reladraw features clean TypeScript abstractions and an outstanding zero-dependency model. However, the repository contains no test configurations, meaning compilation safety and parser edge cases remain unverified. It is a promising architecture that requires immediate automated testing before it can be trusted in production toolchains.

  • The compile function uses a clean parse-resolve-render pipeline with zero external dependencies.
  • The AST representation cleanly separates logical structure from spatial coordinates.

The AST parsing logic lacks robust schema verification and type validation boundaries for deep container nesting.

Implement rigorous JSON Schema or Zod checks to enforce a strict type validation layer on the parsed layout tree.

Criterion: technical quality
View full scorecard
purpose usefulness
3.5 / 5(Weighted: 14.0)

This tool is a specialized DSL for relative diagramming. It has high utility for specific structural diagrams, but cannot handle arbitrary vector shapes.

Confidence: high
implementation evidence
4 / 5(Weighted: 16.0)

The core parser and layout engines are fully implemented in the source files, though verifying layout rendering bugs requires a test suite.

Confidence: medium
Limitations:
  • The absence of test code in the 20 source files prevented verification of layout calculation accuracy.
technical quality
4.5 / 5(Weighted: 18.0)

The clean architectural boundaries between AST, measure, and render modules in the examined files are professional.

Confidence: medium
Limitations:
  • Confidence limited to medium: 3 of 20 source files were examined, a sample of the codebase. The examined files bear on data write safety, cost & resource controls; execution & permission safety, production reliability were not examined.
usability onboarding
3 / 5(Weighted: 9.0)

Command line parameters are simple and direct. The lack of syntax auto-completion or interactive debug traces increases developer cognitive load.

Confidence: medium
differentiation insight
4 / 5(Weighted: 12.0)

Abandoning automatic flow layout to focus strictly on relative spatial constraints is an original, practical compromise.

Confidence: high
project health stewardship
3.5 / 5(Weighted: 7.0)

Licensed under Apache-2.0 with a clear distinction between code licensing and brand marks.

Confidence: high
Lisa, Head of Product Design

Lisa

Head of Product Design

SCORE74.0

Designing an interface where you type commands like 'below app.ui' is an intriguing approach to layout ergonomics, but the lack of autocompletion feedback makes manual writing difficult. For AI agents, the layout syntax represents a strong design choice because it reduces complex geometries to natural linguistic relations.

  • The relative positioning syntax provides reliable consistency across diagram layouts.
  • Clean, modern SVG rendering without the visual clutter of older diagramming platforms.

The syntax requires you to remember exact directional keywords and side combinations without auto-completion helpers.

Provide a Language Server Protocol implementation that suggests valid side configurations as you type.

Criterion: usability onboarding
View full scorecard
purpose usefulness
3.5 / 5(Weighted: 14.0)

It successfully minimizes the effort needed to align layout boxes, addressing a genuine developer frustration.

Confidence: high
implementation evidence
4 / 5(Weighted: 16.0)

The web playground provides an instant, interactive way to verify layout syntax rendering.

Confidence: high
technical quality
3.5 / 5(Weighted: 14.0)

The CLI handles input and output paths well, but error styling could point more precisely to line and character offsets.

Confidence: medium
usability onboarding
3.5 / 5(Weighted: 10.5)

The documentation is clear and the cheat sheet covers all syntax variations, but real-time editor feedback is missing.

Confidence: high
differentiation insight
4.5 / 5(Weighted: 13.5)

By using hyphenated point names and spaced alignment phrases, it resolves complex layout questions without absolute values.

Confidence: high
project health stewardship
3 / 5(Weighted: 6.0)

The documentation is updated alongside code versions, but community contribution paths are restricted while syntax is in flux.

Confidence: medium
Sarah, Senior Product Manager

Sarah

Senior Product Manager

SCORE76.5

If the goal is to provide a text-based layout DSL for small system architecture diagrams, reladraw succeeds completely in giving authors direct spatial control. If the goal is enterprise flowcharts, the syntax instability of v0.8.0 and lack of schema stability make it a risky choice for long-term production documentation systems.

  • A tightly focused scope that strictly avoids feature creep like complex animation or styling layers.
  • Clear documentation of syntactic limitations, warning users that the language is not yet stable.

There is no defined deprecation path or stability commitment for the syntax before reaching a stable release.

Publish a formal language specification outlining a deprecation path for breaking AST syntax changes.

Criterion: project health stewardship
View full scorecard
purpose usefulness
4 / 5(Weighted: 16.0)

The scope of the project is tightly bound, avoiding layout automation bloat in favor of manual positioning rules.

Confidence: high
implementation evidence
4 / 5(Weighted: 16.0)

The npm release and the browser playground exist, proving the core compilation pipeline is reliable for current syntax.

Confidence: high
technical quality
4 / 5(Weighted: 16.0)

TypeScript code shows mature structural design, though lack of runtime test suites makes it hard to trust for enterprise pipelines.

Confidence: medium
usability onboarding
3.5 / 5(Weighted: 10.5)

An excellent onboarding experience via the browser playground, but syntax errors can confuse newcomers.

Confidence: high
differentiation insight
4 / 5(Weighted: 12.0)

The deliberate focus on relative coordinates represents an intelligent and well-targeted trade-off in the diagram space.

Confidence: high
project health stewardship
3 / 5(Weighted: 6.0)

The project is still early and primarily managed by a single creator, meaning long-term maintenance carries key-person risk.

Confidence: medium
Marcus, Venture Capitalist

Marcus

Venture Capitalist

SCORE74.5

By targeting the space between Mermaid's rigid engine and draw.io's manual drag-and-drop, reladraw positions itself as a strategic DSL for automated agents. It has achieved 612 stars across its launch period, indicating strong early demand. To secure its ecosystem position, it must prioritize integrations over language changes.

  • High strategic positioning as a target layout language for LLMs and developer agents.
  • Extremely lightweight execution footprint due to zero runtime dependencies.

The project lacks deep distribution integration into mainstream CI pipelines or standard markdown parsers.

Create an official GitHub Action for automatic diagram generation to accelerate ecosystem integration.

Criterion: differentiation insight
View full scorecard
purpose usefulness
4 / 5(Weighted: 16.0)

Addressing the diagrammatic coordination gap for software engineering teams targets a high-value, high-adoption audience.

Confidence: high
implementation evidence
3.5 / 5(Weighted: 14.0)

Core engine runs smoothly online, but we lack production telemetry or widespread integration metrics.

Confidence: medium
technical quality
4 / 5(Weighted: 16.0)

The zero-dependency architecture keeps execution costs low and maintains security by minimizing package supply chain risks.

Confidence: medium
Limitations:
  • Confidence limited to medium: 3 of 20 source files were examined, a sample of the codebase. The examined files bear on data write safety, cost & resource controls; execution & permission safety, production reliability were not examined.
usability onboarding
3 / 5(Weighted: 9.0)

The agent skill installation is uniquely practical for LLM tool use, though human-facing ergonomics require refined text editing support.

Confidence: high
differentiation insight
4.5 / 5(Weighted: 13.5)

Solving layout challenges by leveraging linguistic relative rules provides a compelling alternative to heavy layout engines.

Confidence: high
project health stewardship
3 / 5(Weighted: 6.0)

With 612 stars and 11 forks, the project has established initial traction but requires a structured path to build a contributor community.

Confidence: high

Final Verdict

Engineering teams and architects who are frustrated with Mermaid re-rendering anomalies should adopt reladraw for critical, long-lived system architecture diagrams. AI tool developers looking to equip agents with spatial diagramming capabilities will find the skill integration exceptionally direct, as it avoids agent coordinate recalculation. Teams requiring complex flowchart generation or complete language stability should wait for a stable 1.0.0 release. The jury's outlook would improve with a robust language server protocol for editor autocomplete and clear schema validations.

Evidence reach: the jury examined 3 of 20 source files, including implementation bearing on data write safety, cost & resource controls. Not examined: execution & permission safety, production reliability.

Bring the jury to your own project

Run the same five AI personas with your own evidence and evaluation criteria using Judgie-AI.

Explore Judgie-AI →
Sources, evidence map and generation metadata

Sources

What the jury could not assess

  • The repository contains no test suites or coverage configurations among its source files, leaving the runtime parsing error handling and rendering edge cases unverified.
  • Production-grade rendering reliability under large diagram sizes could not be established from the 20 source files.
  • The execution safety of the package when run inside automated CI pipelines was outside the scope of the examined materials.

How claims relate to sources

After this review was written, a separate pass recorded how its statements relate to the collected material. It is a record of the writing, not a score of it: opinions and comparisons are expected to be the jury's own.

This record covers the review's narrative — the summary, headline, standfirst, jury summary, points of agreement and disagreement, stated limitations, verdict, and each judge's verdict and leading concern — plus any specific factual claim made elsewhere, such as a figure, a security or runtime assertion, or a claim about what the project lacks. The per-criterion scoring commentary is not mapped statement by statement: an opinion about a score is the jury's judgment, not a claim about the world. All 68 covered statements were recorded.

  • Directly supported2 statements
  • Repository observation4 statements
  • Creator claim11 statements
  • Editorial judgment51 statements

Generation metadata

  • Model: gemini-3.5-flash
  • Prompt version: 4.8.2
  • Rubric: open-source-product 2.0.0
  • Scores recalculated by code: yes
  • Editorial provenance: Autonomously generated
  • Evidence record: complete — 68/68 covered statements (38 scoring statements out of scope)

Discuss this review

Disagree with the verdict or found evidence we missed? Share a reasoned response, public evidence, or a factual correction.

Comments are public and require a GitHub account. Comments do not automatically change the jury score. Verified corrections may be reflected separately in Corrections & Updates.

Open GitHub Discussions