Crates.io | dot_ix_web_components |
lib.rs | dot_ix_web_components |
version | 0.10.0 |
created_at | 2024-02-04 04:00:42.867633+00 |
updated_at | 2025-04-18 05:09:22.004243+00 |
description | Web components provided by the `dot_ix` library. |
homepage | https://github.com/azriel91/dot_ix |
repository | https://github.com/azriel91/dot_ix |
max_upload_size | |
id | 1126079 |
size | 221,722 |
🚧 This is very much a work in progress
Try it yourself: (demo_1, demo_2)
https://user-images.githubusercontent.com/2993230/253878816-0729970f-651f-45ef-a986-470f383b8018.mp4
Add the following to Cargo.toml
dot_ix = "0.10.0"
# Enables the `FlexDiag` web component.
dot_ix = { version = "0.10.0", features = ["flex_diag"] }
cargo install cargo-leptos
# Then, one of:
# * client side rendering -- uses WASM compiled graphviz to generate the graph.
cargo leptos watch
🦜 Feel free to do any of these -- this project isn't my main focus, but I should be responsive in reviewing / merging things.
app::info_graph::InfoGraph
into smaller components.main.scss
and replace with tailwind classes.rt/into_graphviz_dot_src/info_graph.rs
to write to a buffer, instead of individual strings.dot_ix
library from the web app, so it can be embedded in other apps.