Skip to main content

adam_web_ui/
lib.rs

1//! Reusable Dioxus UI for browsing and editing a live `adam_rs::Sheet`, built on Spectrum Web
2//! Components. Named for the web rendering stack it targets — Dioxus + Spectrum Web
3//! Components render as DOM whether hosted in a real browser or an embedded webview — not
4//! tied to any one Dioxus renderer feature, so it's usable from a desktop app (`begin`), a
5//! `dioxus/web` app, or a plain `wasm-bindgen` embed with no full app shell around it.
6
7pub mod build;
8pub mod diagnostics;
9pub mod graph;
10mod inspector;
11pub mod labels;
12pub mod spectrum;
13
14pub use build::{BuildOutcome, build_sheet};
15pub use graph::{
16    GraphData, GraphDrive, GraphView, LinkData, LinkKind, NodeData, NodeKind, graph_drive_script,
17    to_graph_data,
18};
19pub use inspector::SheetInspector;
20pub use labels::{
21    CellMeta, Labels, Renderer, WriteStrFn, format_adam_error, format_rounded,
22    labels_from_cell_names,
23};