Disposition -- graph generation app (like GraphViz)
โ Rust ๐ 2026-04-11 ๐ค surdeus ๐๏ธ 1heya, I've built a data structure to SVG diagram generator in a similar space to GraphViz:
Try it out here:
(best to click on the examples, the editor isn't so friendly on mobile)
Links:
- repo: GitHub - azriel91/disposition: SVG diagram generator ยท GitHub
- crate: crates.io: Rust Package Registry
- click on the "about" link on the page for project background -- it doesn't work when opening the URL directly
Things you may care about:
- This generates diagrams from structured input.
- Generated node / edge positions are predictable / stable.
- Playground is pure client side logic.
- Light and dark mode works with
:root.darkor media query. - Diagram is stylable, with sensible(ish) defaults.
- Simple SVG output (no script, no foreignObject), so should be able to upload to other places without quality loss.
There's no CLI app yet, and I haven't worked very much on "good errors for parseable input that contain mistakes".
1 post - 1 participant
๐ท๏ธ Rust_feed
