Skip to main content

Crate esoc_scene

Crate esoc_scene 

Source
Expand description

Arena scene graph with typed visual marks.

This crate defines the shared visual vocabulary consumed by rendering backends (esoc-gpu, esoc-gfx) and produced by chart logic (esoc-chart).

Re-exports§

pub use arena::SceneGraph;
pub use bounds::BoundingBox;
pub use bounds::DataBounds;
pub use mark::Mark;
pub use mark::MarkBatch;
pub use mark::MarkKey;
pub use node::Node;
pub use node::NodeContent;
pub use node::NodeId;
pub use scale::Scale;
pub use style::FillStyle;
pub use style::FontStyle;
pub use style::MarkerShape;
pub use style::StrokeStyle;
pub use transform::Affine2D;

Modules§

arena
Generational-index arena scene graph.
bounds
Bounding boxes and data bounds.
mark
Visual mark types — the 9 primitives and batch variants.
node
Scene graph node types.
scale
Scales: data → visual coordinate mapping.
style
Visual styles for marks: stroke, fill, font, marker shapes.
transform
2D affine transforms (3×2 matrix).
transition
Scene diffing for transitions (enter/update/exit).