← All projects
Project record4 mentions
Originally shared on Hacker News

disposition

A Graphviz dot substitute written in pure Rust that renders graphs with predictable, stable layout, edge routing that avoids overlapping labels, dark and light mode styling via Tailwind CSS, interactivity implemented in pure CSS, and markdown support for descriptions.

Last shared
01 / The problem

What it addresses

The original Graphviz dot lacks predictable/stable layout, dark and light mode CSS, pure-CSS interactivity, and markdown descriptions.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. disposition

    A Graphviz dot substitute written in pure Rust that renders graphs with predictable, stable layout, edge routing that avoids overlapping labels, dark and light mode styling via Tailwind CSS, interactivity implemented in pure CSS, and markdown support for descriptions.

    Problem: The original Graphviz dot lacks predictable/stable layout, dark and light mode CSS, pure-CSS interactivity, and markdown descriptions.

    Posted by @azriel91 · Original source ↗

    Source text · @azriel91 · · Source ↗

    A graphviz dot substitute in pure rust: https://azriel.im/disposition/
  2. Disposition

    A diagram generator similar to graphviz that supports markdown, used to visualise what infrastructure exists, will exist, will be deleted, or is in progress while automation is running.

    Problem: No good way to visualise what infrastructure exists, will exist, will be deleted, or is in progress when automation is running.

    Posted by @azriel91 · Original source ↗

    Source text · @azriel91 · · Source ↗

    - side-side: https://azriel.im/disposition - a diagram generator like graphviz, but supports markdown, to visualise what infrastructure exists / will exist / will be deleted / is in progress when automation is running
  3. disposition

    A GraphViz replacement for generating graph diagrams, written in Rust. It supports stable node positions and styling, including default styles and dark mode styles. Planned features include edge labels, images in nodes, generating diagrams for different screen sizes, and possibly LSP support.

    Problem: The hardest part is calculating coordinates for edges: ranking/positioning nodes when edges connect nodes of different nesting levels, and ensuring edges don't overlap with nodes or with each other.

    Posted by @azriel91 · Original source ↗

    Source text · @azriel91 · · Source ↗

    Working on a GraphViz replacement (again): Site: https://azriel.im/disposition Repo: https://github.com/azriel91/disposition It's written in Rust, has stable node positions, is stylable (and has default styling, dark mode styles), among other things.
  4. Disposition

    An SVG diagram generator written in pure Rust that substitutes for GraphViz, supporting default and customisable styling, light and dark mode, and stable/predictable layout.

    Problem: Solves problems that were hard to work around with GraphViz, such as default and customisable styling, light and dark mode, and stable/predictable layout.

    Posted by @azriel91 · Original source ↗

    Source text · @azriel91 · · Source ↗

    An SVG diagram generator to substitute GraphViz in pure Rust: https://azriel.im/disposition