Available on crate feature
viz only.Expand description
Scene-graph serializer: the matplotlib-free rendering contract (spec §5.3).
A SceneGraph is a LayoutResult enriched with attrs + style, ready for
JSON export, SVG emit, or consumption by a WASM/React renderer.
Re-exports§
pub use crate::layout::HyperedgeGeometry;
Modules§
- svg
- Hand-rolled minimal SVG emitter for a
SceneGraph(no external SVG crate).
Structs§
- Hyperedge
Glyph - A rendered hyperedge.
- Hyperedge
Style - Visual style for a hyperedge glyph.
- Node
Glyph - A rendered node.
- Node
Style - Visual style for a node glyph.
- Scene
Graph - The scene-graph: the contract between Rust and every renderer.
Constants§
- DEFAULT_
NODE_ RADIUS - Default rendered node radius (layout units).