# librrd Playground: A CSS-Inspired Language for Diagram Layouts

> Hacker News story 49002235 · language: en · submitted 2026-07-22
> Web version: https://zeli.app/story/49002235
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 9 · by [E-Reverance](<https://news.ycombinator.com/user?id=E-Reverance>) · 💬 2
[original](<https://systemf.epfl.ch/etc/librrd/>) · [HN discussion](<https://news.ycombinator.com/item?id=49002235>)

## Summary

I built a playground for librrd, a tool that uses a CSS-like language to style diagram layouts. You can control alignment, spacing, and fonts with familiar selectors and properties. The system renders diagrams as SVG, keeping layout calculations separate from final rendering to ensure consistent text widths.

## Key quote

> Don't change the font because text extents are computed at layout time, not rendering time.

---

## Cite

- Page: https://zeli.app/story/49002235
- Date: 2026-07-22
- Source: systemf.epfl.ch (https://systemf.epfl.ch/etc/librrd/)
- Hacker News: https://news.ycombinator.com/item?id=49002235

## Other languages

- zh: https://zeli.app/zh/story/49002235 · markdown: https://zeli.app/zh/story/49002235.md
- ja: https://zeli.app/ja/story/49002235 · markdown: https://zeli.app/ja/story/49002235.md
- ko: https://zeli.app/ko/story/49002235 · markdown: https://zeli.app/ko/story/49002235.md
- de: https://zeli.app/de/story/49002235 · markdown: https://zeli.app/de/story/49002235.md
- es: https://zeli.app/es/story/49002235 · markdown: https://zeli.app/es/story/49002235.md
