@liquidcars/atlas 0.1.53 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -542,3 +542,11 @@ presentation as well as its history.
542
542
  ## Public model contract
543
543
 
544
544
  `@liquidcars/atlas/model` exports `validateRuntimeModel`, `runtimeModel`, `runtimeSnapshot`, relation normalization and presentation capture without DOM, Three or layout. It validates supplied vectors and hierarchy before core applies defaults. See the [model/document contract](../atlas-layout/spec/ATLAS-MODEL-CONTRACT-v1.md).
545
+
546
+ ## 0.2.0: accelerated diagram
547
+
548
+ Interactive 2D now draws the independently calculated diagram using an orthographic WebGL camera. The orientation cube, pseudo-camera, focus, item/relationship filters and layout spacing remain available. Pan and zoom do not recalculate layout. Containers are packed bottom-up with their complete subtrees: unrelated bounds remain separate and descendants stay within their parents. Light/dark backgrounds, a dotted grid, flat geometry and cached captions preserve the diagram style.
549
+
550
+ `computeDiagramLayout(atlas, options)` returns layout data without generating SVG. `renderDiagramSvg` / `exportDiagramSvg` remain explicit vector exports using the same layout and reusable geometry symbols. Canonical model positions remain unchanged. Interactive diagrams require WebGL; hosts should offer a list/tree alternative if it is unavailable. Detached geometry building and vector export remain available without a GPU. Camera and diagram state are distinct and retain their existing APIs.
551
+
552
+ 0.2.1 also tolerates empty camera/diagram snapshots when restoring navigation after replacing a model; a missing camera leaves the current framing intact.