pub struct SystemDef {
pub id: String,
pub label: String,
pub plain_label: String,
pub representation: SystemRepresentation,
pub overlay_hosts: Vec<String>,
pub color_rgba: [f32; 4],
pub tier: SystemTier,
pub parent: Option<String>,
pub relations: Vec<SystemRelation>,
pub provenance: SystemProvenance,
}Expand description
A first-class body system: identity, human + plain-language labels, how it renders, its overlay hosts (for a distributed system), a default colour, its place in the hierarchy, its structural links to other systems, and its provenance.
Fields§
§id: StringStable id (e.g. "circulatory", "fascial"). The join key across the engine, meshes, and data.
label: StringClinical / general human label ("Circulatory (Cardiovascular) System").
plain_label: StringAccessibility-first, plain-language wording ("heart and blood flow") — never diagnostic.
representation: SystemRepresentationWhether the system has characteristic organ meshes to paint, or is a distributed network shown as an overlay on its host structures.
overlay_hosts: Vec<String>For a SystemRepresentation::DistributedOverlay system, the system ids whose organ meshes it is
highlighted over (empty = a whole-body cue). Empty for discrete-organ systems.
color_rgba: [f32; 4]Default identity colour (linear RGBA); the person’s burden σ overrides it at runtime.
tier: SystemTierThe system’s tier in the hierarchy (canonical major / sub-system / cross-cutting).
parent: Option<String>The parent (major) system this is a sub-branch of, if any (sensory → nervous). None for majors
and cross-cutting networks.
relations: Vec<SystemRelation>Structural links to other systems — how this system depends on / regulates / supplies them. Context for understanding, not burden propagation.
provenance: SystemProvenanceWhere this system definition came from.
Implementations§
Source§impl SystemDef
impl SystemDef
Sourcepub fn is_overlay(&self) -> bool
pub fn is_overlay(&self) -> bool
Whether this system is rendered as a distributed overlay (no standalone organ mesh).
Sourcepub fn is_canonical_major(&self) -> bool
pub fn is_canonical_major(&self) -> bool
Whether this is one of the 11 canonical major organ systems.