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•1h 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.

Show HN: Wyzer Programming Language

https://github.com/Wyzer-Lang/wyzer
101•v0id_isgood•4h ago•53 comments

Show HN: textlog – A quiet, text-only microblogging platform, open-source, no JS

https://textlog.cc/about
68•stagas•6h ago•22 comments

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

https://line9.ai/diagram
2•jumpalongjim•1h ago•0 comments

Show HN: Likeface, make typefaces you like

https://0i0.app/pro/likeface
2•0gs•1h ago•2 comments

Show HN: S-Bahn Seat Picker

https://welidev.github.io/sbahn-picker/
2•weli•2h ago•1 comments

Show HN: Clef – spaced repetition for piano over MIDI

https://playclef.com/
3•danieldratschuk•2h ago•0 comments

Show HN: The Channels SDK – Bring Any Agent to Any Channel (Slack, MS Teams)

https://github.com/CopilotKit/channels-sdk
111•davidmckayv•1d ago•24 comments

Show HN: Certo – An open source platform to deliver Open Badges

https://github.com/schroedinger-Hat/certo
14•thejoin95•7h ago•0 comments

Show HN: Mirafold – Your Agent with Generative UI (Codex, Claude Code, Gemini)

https://mirafold.com/
4•kserrec•4h ago•3 comments

Show HN: Lefts – a domain specific language for building creative ML models

https://nsmat.github.io/lefts/
6•niksmather•4h ago•0 comments

Show HN: Which devtools win when LLMs plan real web apps

https://preseason.ai
3•thedreammachine•4h ago•0 comments

Show HN: A free mini game that makes you a smarter fly fisherperson

https://read-the-water.netlify.app/
18•mpc75•3d ago•8 comments

Show HN: File-based HTTP endpoints for Python with its own isolated dependencies

https://github.com/tanrax/bitpoint
5•andros•7h ago•1 comments

Show HN: Akintu – AI agents trained on custom knowledge bases using RAG

https://akintu.ai
3•Sharanxxxx•5h ago•1 comments

Show HN: Remembrane – agent memory in one SQLite file, zero dependencies

https://github.com/satyasairay/remembrane
9•satyasairay•9h ago•0 comments

Show HN: Pokémon Emerald Ported to Raspberry Pi Pico 2

https://github.com/mattdeeds/pokeemerald-rp2350
49•mdeeds•19h ago•28 comments

Show HN: XSAF – Extra Small Agent Framework

https://xsaf.ilha.build/
4•ryuzyy•9h ago•3 comments

Show HN: Sidebar – a private ESP32 intercom for five kids, no accounts

https://www.sundaradnus.ca/writing/sidebar-building-a-ham-radio-for-my-son
10•nonstopnonsense•13h ago•4 comments

Show HN: A terminal glued to the macOS dock

https://github.com/palamim/starboard
45•leopalamim•1d ago•15 comments

Show HN: Recipe Jar, a local-first recipe keeper with no account or ads

https://recipejar.app/
8•sbmagar13•7h ago•2 comments

Show HN: posix-regex – POSIX standard regex engine for JavaScript

https://github.com/dawsonhuang0/posix-regex
2•dawson0•7h ago•0 comments

Show HN: Microfeed – RSS+10GB media files on your own domain, no hosting fees

https://docs.microfeed.org/
2•wenbin•2h ago•0 comments

Show HN: Tamron Lens Utility Alternative on Linux

https://github.com/yikerman/tamron-lens-control
4•xiaoyu2006•3h ago•0 comments

Show HN: Open-source pixel art editor with animation and auto-tiling tilesets

https://simplepixelart.com/editor
6•lam_hg94•14h ago•2 comments

Show HN: Simple algorithm and color space to generate diverse skin tones

https://toneyalexander.github.io/inclusive-color-space/
619•automatoney•3d ago•100 comments

Show HN: Seedance 2.5 video API (30s single-take, 50 refs, 4K) on Atlas Cloud

https://www.atlascloud.ai/models/seedance-2.5
2•qqt•10h ago•2 comments

Show HN: Rodeo – a robot that earns its own electricity

https://github.com/IERoboticsAILab/RODEO
3•edcafenet•4h ago•0 comments

Show HN: AI Tutoring with Visual Grounding

https://useknowable.ai/
6•samuelzxu•17h ago•6 comments

Show HN: Wallfacer – A terminal session manager for Claude Code, and more

https://github.com/pradipta/wallfacer
35•pradiptasarma•1d ago•22 comments

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

https://electronicmaterialsoffice.com/
284•aemerson_•1d ago•233 comments