disposition_ir_model 0.0.4

SVG diagram generator intermediate representation.
Documentation

📐 disposition

Crates.io docs.rs CI Coverage Status

SVG diagram generator.

[!NOTE]

🚧 This crate is a work in progress.

See design notes at https://peace.mk/book/side_projects/disposition.html.

Features

  • Pure Rust.
  • SVG for lossless resolution.
  • Stable layout.
  • Sensible default styling.
  • Customizable styling.
  • Interactive highlighting.
  • CSS only interactivity.
  • Edges between nodes.
  • Edge animations representing requests/responses.
  • Arrows on edges.
  • Circle as node shape.
  • Dependencies between process steps.
  • Tooltips.
  • Images in nodes.
  • Responsive layout.
  • Light and dark modes.

Usage

Add the following to Cargo.toml:

[dependencies]
disposition = "0.0.4"

In code:

use disposition;

todo!("This crate is a work in progress.")

Development

Playground

Install dx (dioxus build tool):

cargo install cargo-binstall
cargo binstall dioxus-cli

Run dx serve in app/playground:

cd app/playground
dx serve

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.