frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Line9 - a Mermaid rendering engine with its own layout

https://line9.ai/diagram
1•jumpalongjim•54m ago
Line9 is a new rendering engine for Mermaid flowchart diagrams that aims to remove the need for manual adjustment of layout. Mermaid is a popular text-based language for describing multiple types of diagrams.

Several Mermaid rendering engines already exist. Most, like the original mermaid.js, use Dagre or ELK graph drawing libraries to automatically lay out their diagrams. I’ve used Mermaid for the past four years but often recreated my flowcharts in a diagram editor so that I could modify the layout to something that better suited my needs.

Use Line9 when you want an automatic flowchart arrangement that optimises for clear communication. It seeks to layout flowcharts with regular grid spacing, closer positioning of related nodes, shorter, straighter edges and targets a page-like aspect ratio. The Compare button in the /diagram page (share panel on the left) shows you the Line9 and mermaid.js renders next to each other.

Use for free, no account required. A CLI tool can also be downloaded for Mac, Windows and Linux. Free-use diagrams carry a watermark. Commercial use of the CLI requires a paid account and you also get diagrams without watermarks. Line9 is not open source (I need to create an income and the business model is being tested).

I’ve tried to encode and automate the layout principles I use when creating flowcharts by hand. All rendering takes place in the browser, so no private data is sent to the web service. The CLI is written in Rust and embeds the renderer so you get a single binary install and all data and processing remains local. It’s currently a little slower than mermaid.js, due to the difficulty of solving node positioning and edge routing simultaneously to find the layout that best meets the design principles.

Output is produced in SVG or PNG formats. Diagrams can also be shared via a URL with a fragment that embeds the Mermaid text.

Things I know still need improvement: positioning and rotating subgraphs, folding graphs to hit good aspect ratios more often, further improvement on edge label placement, better interaction with long node labels and tidying up the display when scaling down. Then I also want to support more diagram types and the website needs lots of work.

Please paste your own Mermaid flowcharts into Line9 – particularly the ones that you previously discarded because the layout was bad. Let me know whether they improve, or what other work is needed.

A revised Haskell 2010 language report

https://blog.haskell.org/revised-haskell-2010-report/
1•fanf2•12s ago•0 comments

Recommendation engine knows what to show you, without knowing anything about you

https://belfortlabs.com/blog/lg
1•furkanturan•14s ago•0 comments

Theory of Operation of the Quarter Shrinker by Stoneridge Engineering (2025)

https://capturedlightning.com/frames/shrinker.html
1•bariumbitmap•16s ago•0 comments

Hackers vs. the EU: the backdoor that opens the door to everyone

https://ownyourdatamp.substack.com/p/hackers-vs-the-eu-the-backdoor-that
1•marcoparisi•21s ago•0 comments

OpenAI hacking incident exposes mounting risks in AI arms race

https://www.ft.com/content/7e558951-0c69-459b-8bc8-2c6021d4402d
1•Topfi•26s ago•0 comments

Never let the LLM write the subject line

https://ddz.dev/blog/llm-subject-line-gmail-threading/
1•dusandz•1m ago•0 comments

AI isn't enough to protect social media communities from AI

https://arstechnica.com/gadgets/2026/08/ai-isnt-enough-to-protect-social-media-communities-from-ai/
1•ddp26•1m ago•0 comments

Twenty Three Years of Books

https://www.cannonade.net/blog.php?tag=Books
1•redbluething•3m ago•1 comments

After fierce backlash, Georgia freezes new data center projects through year

https://www.yahoo.com/news/us/articles/fierce-backlash-georgia-freezes-data-045900170.html
1•mapping365•3m ago•0 comments

L;Dv (Too Lazy; Didn't Validate): 181,874 Meetings Left Wide Open

https://bobdahacker.com/blog/tldv-hack
1•kalimatas•5m ago•0 comments

Quantum take on the Riemann hypothesis, math's hardest problem

https://www.scientificamerican.com/article/can-quantum-computers-solve-maths-hardest-problem/
1•chc2889•7m ago•0 comments

Show HN: Job Posting Insights

https://jobhose.com/insights
1•weeco•8m ago•0 comments

Is Europe having a bad wildfire year?

https://hannahritchie.substack.com/p/europe-wildfires-2026
1•speckx•8m ago•0 comments

Will AI Sycophancy Contaminate Law Enforcement?

https://www.techpolicy.press/will-ai-sycophancy-contaminate-law-enforcement/
2•hn_acker•9m ago•0 comments

Moderate Democrats Prepare for 'War' Against an Ascendant Left

https://www.nytimes.com/2026/08/06/us/politics/democratic-party-socialists-moderates.html
1•keernan•10m ago•0 comments

Show HN: Building My Own Smart Roller Shades

https://osv.im/writing/building-my-own-smart-roller-shades/
1•ohleg•12m ago•0 comments

Tell HN: Upcoming DeepSeek API Billing Adjustment

2•embedding-shape•13m ago•1 comments

Japanese eels have two types of sperm

https://www.economist.com/science-and-technology/2026/05/19/japanese-eels-have-two-types-of-sperm
2•geneticdrifts•13m ago•0 comments

Berlin's Telli Raises $15M to Expand Enterprise AI Agents

https://www.konsulteer.com/article/berlin-s-telli-raises-15m-to-expand-enterprise-ai-agents
2•kekqqq•14m ago•0 comments

Ask HN: Anyone else getting token limited at work now?

1•jryan49•15m ago•1 comments

Post-Quantum Cryptography in Long-Term Support JDK Releases

https://blogs.oracle.com/java/post-quantum-cryptography-in-long-term-support-jdk-releases
1•theanonymousone•15m ago•0 comments

Show HN: I spent 2 years designing a mechanical Magic Keyboard

https://electronicmaterialsoffice.com/
3•aemerson_•16m ago•0 comments

Reddit signals ominous upcoming "changes" for old.reddit.com

https://arstechnica.com/gadgets/2026/08/reddit-signals-ominous-upcoming-changes-for-old-reddit-com/
4•Brajeshwar•16m ago•0 comments

Sanity Eve Agent

https://twitter.com/i/status/2085369329323831647
1•flashbrew•16m ago•0 comments

Yukon mayor faces recall after data center backlash

https://www.kgou.org/oklahoma-news/2026-08-05/yukon-mayor-faces-recall-after-data-center-backlash
2•mapping365•17m ago•0 comments

Former Federal Prosecutors to Senate: Stop Confirming Election Deniers as Judges

https://abovethelaw.com/2026/08/former-federal-prosecutors-to-senate-stop-confirming-election-den...
4•hn_acker•17m ago•1 comments

Degrees of Wealth

https://jaapgrolleman.com/degrees-of-wealth/
3•jxub•18m ago•0 comments

Fountain Codes and Covert Channels (2022) [pdf]

https://www.fernuni-hagen.de/pv/docs/abschlussarbeit_marciniszyn_.pdf
1•Tomte•18m ago•0 comments

RVV Benchmark SiFive P870 (Lanxin LX500, Epic Semi Contrail AIx)

https://camel-cdr.github.io/rvv-bench-results/sifive_p870/index.html
1•mshockwave•18m ago•0 comments

What do you think of HAM?

https://hypeapps.dev
1•tonsoflaz•18m ago•0 comments