Skip to main content

Module viz

Module viz 

Source
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§

HyperedgeGlyph
A rendered hyperedge.
HyperedgeStyle
Visual style for a hyperedge glyph.
NodeGlyph
A rendered node.
NodeStyle
Visual style for a node glyph.
SceneGraph
The scene-graph: the contract between Rust and every renderer.

Constants§

DEFAULT_NODE_RADIUS
Default rendered node radius (layout units).