galavi / State
Interface: State
Defined in: types.ts:42
State — the global sharable state.
Three tiers by update frequency:
- physical: physical coordinate system, set once, rarely changes (optional)
- layers: data layer configurations, moderate updates
- exploration: navigation and interaction state, frequent updates
This is what gets serialized and restored.
Properties
physical?
optionalphysical:PhysicalSpace
Defined in: types.ts:44
Physical coordinate system (optional — defaults to normalized [0,1]³ µm space)
layers
layers:
LayerConfig[]
Defined in: types.ts:46
Ordered layer list (first = bottom, last = top)
exploration
exploration:
Exploration
Defined in: types.ts:48
Navigation and interaction state