@graphysdk/viz-engine 0.0.1-plugins.1 → 0.0.1-plugins.2

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.
@@ -977,6 +977,13 @@ declare interface PolarCoordSystem {
977
977
  axisMapping: AxisMapping;
978
978
  /** Donut hole radius as a fraction of the outer radius (0-1). 0 for a full pie. */
979
979
  innerRadius: number;
980
+ /**
981
+ * Angular offset, in radians, applied to every angular position — the spec's `startAngle` (degrees)
982
+ * converted once at setup. The polar guide renderer recovers a tick's angle as `position * 2π +
983
+ * startAngle`, matching the angular transform the coord applies to the data, so spokes/labels align
984
+ * with the painted marks.
985
+ */
986
+ startAngle: number;
980
987
  }
981
988
 
982
989
  /**
@@ -1179,8 +1186,14 @@ declare interface SortTransformInput {
1179
1186
  * instead provides a render-side hit-test function (injected per-instance through the renderer),
1180
1187
  * and the engine resolves the observation it returns against the declared identity key. Only the
1181
1188
  * kind rides in the compiled spec — the closure never crosses the serialisable boundary.
1189
+ *
1190
+ * `polar-points` is the polar refinement of `points` (a radar's vertices read in polar). The cursor
1191
+ * and the vertices live in incompatible spaces for the cartesian nearest query — vertices are
1192
+ * `(angle, radius)`, the cursor is plot-local `[0,1]` — so the polar query converts each at query
1193
+ * time (no stored cartesian, no Delaunay), staying correct across resizes. Geoms never declare it; a
1194
+ * polar coord refines a `points`-natural mark to it during the coord transform.
1182
1195
  */
1183
- export declare type SpatialIndexKind = 'buckets' | 'rects' | 'points' | 'arcs' | 'noop' | 'render-hit-test';
1196
+ export declare type SpatialIndexKind = 'buckets' | 'rects' | 'points' | 'arcs' | 'noop' | 'render-hit-test' | 'polar-points';
1184
1197
 
1185
1198
  /**
1186
1199
  * Discriminated union of all resolved stat specs (post-resolution).