frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Mermaid flowcharts you don't have to redraw in a diagram editor

https://line9.ai/diagram
2•jumpalongjim•59m ago
I've made 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 difficult nature 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.

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.

Buy tokens, rent GPUs, or own the rack?

https://www.flowstate.inc/insights/will-hackett/buy-tokens-rent-gpus-or-own-the-rack/
1•speckx•39s ago•0 comments

The Oceanos Rescue Remembered

https://defenceweb.co.za/sea/sea-sea/the-oceanos-rescue-remembered/
1•_djo_•2m ago•0 comments

Why Paris Is Obsessed with a Niche Spirit Made by Monks

https://www.bloomberg.com/news/articles/2026-08-05/how-chartreuse-conquered-paris-wine-bars-to-be...
1•brandonb•4m ago•0 comments

Show HN: Remove LinkedIn reaction-promoted posts using uBlock

1•ra0x3•4m ago•0 comments

Inconsiderate Asshole

https://ninjasandrobots.com/inconsiderate-asshole
1•nate•4m ago•0 comments

Tax cuts for the wealthy only benefit the rich (2023)

https://www.lse.ac.uk/research/research-for-the-world/economics/tax-cuts-for-the-wealthy-only-ben...
1•mooreds•4m ago•0 comments

How to design good agent tools

https://www.bolshchikov.com/p/your-agent-isnt-dumb-your-tools-are
1•bolshchikov•5m ago•0 comments

Colorado's statewide e-bike rebate program returns

https://www.cpr.org/2026/08/06/colorado-e-bike-rebate-program-returns/
1•geox•5m ago•0 comments

Kalshi and Polymarket bets on clinical trials criticized as 'ghastly'

https://www.npr.org/2026/08/07/nx-s1-5922530/patients-betting-kalshi-polymarket-clinical-trials
2•randycupertino•5m ago•1 comments

After mitigation measures, residents say Aurora data center still creating noise

https://www.chicagotribune.com/2026/04/06/after-mitigation-measures-residents-say-aurora-data-cen...
3•starkparker•6m ago•0 comments

Whiteboards are better than PowerPoint

https://leadprompt.sh/a/740-Whiteboards-are-better-than-PowerPoint-2026w18
1•saltysalt•6m ago•0 comments

Adventure (1980 Video Game)

https://en.wikipedia.org/wiki/Adventure_(1980_video_game)
1•mooreds•7m ago•0 comments

Responding to the next frontier of critical cyber capabilities

https://openai.com/index/responding-next-frontier-critical-cyber-capabilities/
2•artninja1988•9m ago•0 comments

DoH, DoT, DoQ, DoH3, and ODoH: which one should you use?

https://blog.dundns.eu/posts/doh-dot-doq-odoh-explained/
1•speckx•9m ago•0 comments

The Tokenpocalypse Is Here: Companies Are Scrambling to Stop Spending on AI

https://www.404media.co/the-tokenpocalypse-is-here-companies-are-scrambling-to-stop-spending-so-m...
3•swolpers•10m ago•0 comments

What Are the Margins of Error in the BLS Monthly Jobs Reports? (2024)

https://mishtalk.com/economics/what-are-the-margins-of-error-in-the-bls-monthly-jobs-reports/
1•starkparker•10m ago•0 comments

EEPROM (not to be confused with EPROM)

https://en.wikipedia.org/wiki/EEPROM
1•dieselgate•12m ago•0 comments

Saudi Arabia, Turkey and Pakistan Sign Defense Pact

https://www.wsj.com/world/middle-east/saudi-arabia-turkey-and-pakistan-sign-defense-pact-ba80d84d
2•JumpCrisscross•13m ago•0 comments

Show HN: Squaredle 2 – browser-local word-grid practice and solver

https://squaredle2.org/
1•lby910722•13m ago•0 comments

Project Kalos – Zero-copy C/CUDA sidecar for 0.46ms LLM memory recall

https://github.com/MongooseReborn/kalos-engine
1•mongoosereborn•14m ago•0 comments

Worried about your blood pressure? A $399 Ring measures it without a cuff

https://www.inc.com/connor-jewiss/worried-about-your-blood-pressure-a-399-ring-wants-to-measure-i...
1•brandonb•14m ago•2 comments

Bloomberg "Some 64% of Young Men Day Trading Stocks Feel Like Failures"

https://finance.yahoo.com/markets/stocks/articles/64-young-men-day-trading-131731246.html
1•valgaze•16m ago•2 comments

The AI Billboards Are Killing SF

https://sfstandard.com/pacific-standard-time/2026/08/07/sf-ai-billboards-dystopian-not-funny/
5•danorama•17m ago•8 comments

ByteDance targets mega AI model nearing Anthropic's Mythos

https://www.ft.com/content/9b8383b1-a28d-4940-8c4e-2f0cd21556ef
3•JumpCrisscross•17m ago•0 comments

Carr's FCC Rewrites Media Ownership Law Only Congress Can Change

https://www.techdirt.com/2026/08/07/brendan-carrs-fcc-rewrites-media-ownership-law-only-congress-...
2•hn_acker•17m ago•1 comments

Moving the Microsoft Edge extensions ecosystem forward with Manifest Version 3

https://blogs.windows.com/msedgedev/2026/08/07/moving-the-microsoft-edge-extensions-ecosystem-for...
2•cpeterso•17m ago•1 comments

The Case Against Perfection (2004)

https://www.theatlantic.com/magazine/archive/2004/04/the-case-against-perfection/302927/
1•geneticdrifts•17m ago•0 comments

Newly discovered demon cavefish may be among the rarest fish in the world

https://www.cnn.com/2026/07/31/science/demon-cavefish-species-discovery
1•mooreds•19m ago•0 comments

Jujutsu 0.44.0

https://docs.jj-vcs.dev/latest/changelog/
2•tosh•19m ago•0 comments

Wi-Fi 7 adoption in the US quadrupled in a year – is it time to upgrade?

https://www.zdnet.com/home-and-office/networking/wifi-7-adoption-in-us-quadrupled-in-year-time-to...
1•CrankyBear•20m ago•0 comments