Urgent.News

What's breaking now, across thousands of outlets.

Tech

Show HN: Reladraw – A diagram language where you decide where to place things

Reladraw is a diagram language that allows users to specify the relative placement of diagram elements. Unlike other diagramming tools that automatically layout elements, Reladraw leaves the positioning up to the user, who defines how elements relate to each other using statements like "above-left of" or "between." This approach offers a balance between automatic layout languages like Mermaid, Graphviz, and D2, which place elements without user input, and absolute-positioning tools like draw.io, Excalidraw, and Figma, which require manual adjustments.

In Reladraw, every position is described relative to another element, eliminating the need for explicit coordinates or nested structures. The syntax is written in plain Markdown, making it easy to read and modify. The language focuses on minimum distances between elements, allowing for automatic adjustments and avoiding stale numbers when text content changes. The solver works by finding the tightest arrangement that satisfies all specified distances, ensuring a clean layout without manual intervention.

Diagnostics are built into Reladraw, providing feedback on issues like overlapping nodes or nodes sticking together. The language is still in development, and its syntax may change, but it offers a practical solution for creating precise, user-defined diagrams without the limitations of fully automatic layout tools.

Written by urgent.news from Hacker News's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Also reported by 1 other outlet

Read the original at github.com →

More in Tech

Do You Really Need A Food Processor? Or Can Your JMG Do It All?

Kitchens today are full of gadgets like mixers , and it is easy to feel confused about what you actually need. Many homes already have a JMG sitting on the counter, used almost every single day. But when a food processor shows up in an ad or on a shopping site, people start wondering if they are missing out. Do you really need both?

What a hard, high-impact cloud change looks like from the inside

Let me show you what a hard high-impact change actually looks like in practice A team I worked with had a microservices architecture. Seven services. All of them deployed in one region.

  • Microservices architecture deployed in single region with data transfer bill of $3,200/month
  • Three services in different availability zones causing $3,200/month data transfer costs
  • Coordination, testing, and cutover effort reduced data transfer bill to $400/month

The quadrant that swallows engineering teams whole

Hard low-impact work is the most dangerous quadrant on the list Not because the work is harmful. Because it feels like real progress while delivering almost none I know this one personally Early in my…

  • Engineering teams trapped in hard low-impact tasks
  • Satisfaction from challenging technical work vs. easy cleanup tasks
  • Question to assess value of prolonged hard optimization work

Ransomware Detection for Windows and Linux using ETW and eBPF

I build ET Ducky, an RMM that reads the kernel event stream on each endpoint. We launch on Product Hunt on Tuesday, September 29, and today I'm writing about the behavioral rule engine. Every managed agent runs thirteen built-in rules against its own kernel event stream.

  • ET Ducky launches on Product Hunt, offering ransomware detection for Windows and Linux.
  • Engine runs on same thread, preventing rule blocking.
  • Rule set includes mass-file-rename and file-encryption-sweep patterns.

More from Saturday 26 September →