Skip to main content

Crate orrery_core

Crate orrery_core 

Source
Expand description

Orrery Core Types and Definitions

This crate provides the foundational types and definitions for the Orrery diagram language. It includes:

  • Interner: Shared global string interner (interner module)
  • Identifiers: Efficient string-interned identifiers (identifier::Id)
  • Colors: Color handling with CSS color support (color::Color)
  • Geometry: Basic geometric types (geometry module)
  • Draw: Visual definitions for diagram elements (draw module)
  • Semantic: Semantic model types for diagrams (semantic module)

Modules§

color
Color handling for Orrery diagrams.
draw
Drawable abstractions for diagram elements.
geometry
Geometric primitives for diagram layout and positioning.
identifier
Identifier management using string interning for efficient string storage and comparison.
interner
Shared global string interner.
semantic
Semantic diagram model types.

Macros§

apply_stroke
Apply all stroke attributes to an SVG element.