@kineviz/gl 0.5.2 → 0.6.0

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/CHANGELOG.md ADDED
@@ -0,0 +1,170 @@
1
+ # Changelog
2
+
3
+ All notable changes to `@kineviz/gl` are documented here.
4
+
5
+ ## 0.6.0 — 2026-06-29
6
+
7
+ Node-anchored info cards. Goal: attach rich, interactive HTML cards to graph
8
+ nodes that track their anchor every frame, with zero cost until used.
9
+
10
+ ### Added
11
+
12
+ - **`gl.cards` overlay layer** (`CardsApi`, `api.cards`). A screen-space HTML card layer anchored to graph nodes that follows its anchor per frame. Generic presets — `property`, `media`, and `list` — plus `html` / `render` / `element` escape hatches for custom content. Cards can also be free-positioned in world space (`position: [x, y, z]`) and made `draggable`.
13
+ - `api.cards.set(specs)` / `api.cards.set(nodeId, spec)` to declare cards, `api.cards.update(id, patch)`, `api.cards.has(id)`, and `api.cards.clear(id?)`.
14
+ - Lazy-mounted (`CardLayerHost` gate) so there is no runtime cost until the first card is created.
15
+ - New public exports: `CardLayer`, `CardLayerHost`, `CardLayerProps`, `CardSpec`, `CardPlacement`.
16
+
17
+ ## 0.5.2 — 2026-06-27
18
+
19
+ Non-geo nodes on planar maps. Goal: nodes without lat/lng no longer drift to the
20
+ horizon or pile on the world origin when a map is shown — they hang off their
21
+ nearest geo neighbour as a readable, zoom-stable ego ring.
22
+
23
+ ### Added
24
+
25
+ - **Ego-ring layout for non-geo nodes** (`map.geoLayout.nonGeoStrategy: "egoRing"`, planar maps). Non-geo nodes are laid out as a deterministic concentric **ego ring** around their nearest geo neighbour — a radial tree by hop distance, rendered in real 3D world space by the core node cloud (no DOM overlay, VR-safe). The engine self-mounts the ego-ring layer from the `map` prop and derives the geo/non-geo split + edges from the store, so hosts do **not** pass a `<GeoEgoRingLayer>` child. `ringGapPx` (default `50`) sets screen-px spacing between rings. Outside planar mode this falls back to `autoPlace`.
26
+ - **Zoom level-of-detail collapse** (`map.geoLayout.collapse`). While an anchor is collapsed its non-geo neighbours are hidden (parked on the anchor); zooming past `expandZoom` — or via `expandOn: ("hover" | "click")[]` — reveals them as the ring. `neighbourCap` (default `0.45`, × nearest-anchor distance) and `maxViewportFraction` (default `0.25`, × viewport height) clamp the ring radius. Omit `collapse` for always-expanded rings.
27
+ - **Public layer exports** — `GeoEgoRingLayer` / `GeoEgoRingLayerProps` / `GeoEgoRingConfig` and `computeEgoRing` / `EgoRingNode` (the deterministic radial-tree layout), plus `GeoLocalLayer` / `GeoLocalLayerProps` / `GeoLocalConfig` (a screen-space spring/repulsion variant) for hosts that drive non-geo placement manually.
28
+
29
+ ### Changed
30
+
31
+ - **`latLngToScreen` / `screenToLatLng` now delegate to a shared projection kernel**, giving planar and spherical map modes a single source of truth for local↔screen projection.
32
+
33
+ ### Fixed
34
+
35
+ - **Edges and arrows with a hidden endpoint now render at opacity 0** instead of stretching to a stale or visible position.
36
+ - **3D globe auto-fit now zooms to the data bounding box** (matching 2D) instead of stopping at a fixed regional cap.
37
+ - **Node-count ring spacing + smoother map zoom.**
38
+ - **Badges now initialise their map-mode on lazy creation** — a badge no longer flies off its node the first time it's created while a map is active.
39
+
40
+ ## 0.5.1 — 2026-06-26
41
+
42
+ ### Added
43
+
44
+ - **Timeline ("Time Bar") panel** — a temporal activity histogram with range selection, a scrub cursor, and playback. Exports `Timeline` / `TimelineProps`, `TimelineCanvas` / `TimelineCanvasProps`, the `useTimelineData` hook + `TimelineData` type, `resolveTimelineMessages`, `DEFAULT_TIMELINE_MESSAGES`, and a `TimelineApi` namespace (`Bin`, `TimelineTarget`, `TimelineMeasure`, `TimelineAnnotation`, `TimelinePlayOptions`). Distinct from the existing `TimelineReplayEffect` event-replay mechanism.
45
+ - **Polygon / GeoJSON layer** — filled polygons with an outline, for overlap/intersection regions, zones, and GeoJSON features. Exports `PolygonLayer` / `PolygonLayerProps`, `PolygonItem` / `PolygonConfig`, and a `PolygonApi` namespace (`PolygonSpec`, `GeoJsonPolygonish`).
46
+ - **Non-geo auto-placement on planar maps** (`applyGeoLayout`, `nonGeoStrategy: "autoPlace"` — the default). A wavefront BFS out from the geo anchors seeds each non-geo node at the centroid of its already-placed neighbours (multi-hop), with scale-relative jitter so co-edged nodes don't stack, then pins them so the live force sim can't disperse them. New options: `nonGeoFallback` (`"preserve"` | `"geoCentroid"` for isolated non-geo components), `pinAutoPlaced` (default `true`), `alphaBump`, and `autoPlaceJitter`; `ApplyGeoLayoutResult` now reports `disconnectedNonGeoIds`. In planar mode non-geo nodes are also flattened to `z = 0`.
47
+ - **Coverage layer refinements** and two new example scenarios (`cell-sectors`, `comms-timeline`).
48
+
49
+ ## 0.5.0 — 2026-06-21
50
+
51
+ ### Added — API method schema registry (`@kineviz/gl/schemas`)
52
+
53
+ New subpath entry exporting `METHOD_SCHEMAS`: an engine-owned registry of zod
54
+ schemas for 193 blockable API methods across the 13 flow-allowlisted
55
+ namespaces (spec: `notes/specs/2026-06-12-api-method-schema-registry.md`).
56
+ Each entry records the method's positional argument layout (plain params +
57
+ trailing options object) so tooling (flow blocks, agents, MCP) can render
58
+ parameter forms and reconstruct calls. Schemas live next to the API code in
59
+ `src/api/schemas/` and are guarded against signature drift by type-level
60
+ assertions compiled in `tsc --noEmit`; the one-time typedoc bootstrap script
61
+ is kept under `scripts/` for reference only. A package `exports` map was
62
+ added — `"."`, `"./schemas"`, `"./dist/*"` (CSS deep imports preserved),
63
+ `"./assets/*"`.
64
+
65
+ contextValue identity redesign (spec: `notes/specs/2026-06-11-contextvalue-identity-redesign.md`). The `GraphContext` provider value is now an **identity-stable handle**: it is created once per engine lifecycle, its 13 reactive fields (`isMapMode`, `mapDamping`, `mapSphereRadius`, `is3D`, `effectiveMapProjection`, `theme`, `textScale`, `edgeTextScale`, the three atlas managers, `layoutController`, `layoutPositionProvider`) are live getters into an internal subscribable view-state store, and consumers subscribe per field.
66
+
67
+ ### Added
68
+
69
+ - **Per-field view-state hooks** — `useGraphHandle()` (stable handle, no reactive re-renders), `useViewStateField(key)`, `useIsMapMode()`, `useMapDamping()`, `useMapSphereRadius()`, `useTheme()`, `useTextScales()`, `useEffectiveMapProjection()`, `useAtlasManagers()`, `useLayoutController()`, `useLayoutPositionProvider()`, and the `GraphViewState` type. Components re-render only for the fields they read; all built-in layers migrated (GlobeLayer/EdgeCloud now re-render on zero reactive changes).
70
+
71
+ ### Changed
72
+
73
+ - **`useGraph()` semantics preserved** (re-renders on any reactive view-state change) but the returned object's identity is now stable; its reactive fields read live values. Prefer `useGraphHandle()` + per-field hooks in new code.
74
+ - **Raw `useContext(GraphContext)` consumers no longer re-render on reactive field changes** — subscribe via `useGraph()` or the per-field hooks instead.
75
+ - The 13 reactive fields on `GraphContextValue` are now `readonly` (they were never meant to be assigned; assignment now fails at compile time).
76
+ - `useGraphVersion()` / `useGraphIconVersion()` no longer carry a whole-view-state subscription.
77
+
78
+ ### Fixed
79
+
80
+ - **`setMapDamping` callback fan-out reported the init-time `isMapMode`** (typically `false`) instead of the current value — text/badge/tag layers could be told the map was off while it was on.
81
+ - **MinimapLayer now reacts to `layoutController` / `layoutPositionProvider` wiring** instead of only noticing it on the next incidental re-render.
82
+ - **Internal node renderer's `lightMode` now follows runtime theme changes** in the bare `<GraphCanvas>` (no `<NodeCloud>` child) path.
83
+ - `setMapMode` / `setMapDamping` keep `mapDamping` / `mapSphereRadius` live for same-mode calls (previously stale until the next mode flip).
84
+ - **Coverage discs no longer deform in globe (3D) map mode** — the rings now lie flat on the sphere's surface (parallel to the ground) instead of tilting off it. The vertex shader builds each disc in the surface tangent plane at its anchor when globe mode is active (`uSphereRadius > 0`, driven by `ctx.sphereRadius`); flat/planar map rendering is unchanged.
85
+ - **Hide Map now actually restores the force layout (shape + drag)** — after hiding the map, nodes stayed frozen in the geo projection (a ring/torus) and dragging had no effect. Two independent breakages, both rooted in Show Map's stop/snapshot:
86
+ - **Sim left disabled.** Show Map's `stopLayout()` set the controller `_enable=false`, and `MapApi._reheatLayout()` looked up the controller via `store.positionProvider.layoutController` — but Show Map also swaps the provider to a frozen `StaticPositionProvider` (snapshot for undo) which carries no `layoutController`, so the reheat silently found nothing. The controller is a cross-view singleton, so force layout stayed dead even in new views. Fix: `RenderEngineApi.wireLayoutController()` now forwards the controller to `MapApi.wireLayoutController()`, giving the reheat a STABLE handle (independent of provider swaps); `_reheatLayout()` prefers it (re-enable `c._enable`, then `restart()` in place), falling back to the provider path then the d3 `_layoutRuntime` handle.
87
+ - **Live provider never restored.** The auto-geoLayout effect in `GraphContext` swaps the store + every renderer to that frozen `StaticPositionProvider` on Show Map but had no symmetric restore, so render and drag kept reading the frozen snapshot after Hide Map. Fix: the effect now restores the live layout provider (`layoutAdapterRef.current`) to the store + renderers on map-off, guarded by identity so a 2D/3D re-projection or a newer provider isn't clobbered.
88
+ Verified live (engine=new, `layout=webgpu`): Show Map → Hide Map returns `store.positionProvider` to the live `CPULayoutProviderAdapter`, re-enables the sim, and nodes re-flow into a normal force layout.
89
+
90
+ ## 0.4.0 — 2026-05-31
91
+
92
+ Edge tube-glow and node halo emphasis layer. Goal: visually emphasise kept subgraphs during hover-dim with a steady light-tube glow on edges and a soft radial halo on nodes.
93
+
94
+ ### Added
95
+
96
+ - **`StyleApi.setEdgeTubeGlow(ids, strength)` / `clearEdgeTubeGlow()`** — applies a steady "light-tube" radial falloff glow to the listed edges. Glow color follows the edge's own resolved color; `strength` (0–1) scales intensity.
97
+ - **`StyleApi.setNodeHalo(ids, strength)` / `clearNodeHalo()`** — renders a soft radial halo ring around the listed nodes. Halo color follows the node's own resolved color; `strength` (0–1) scales intensity. Quad is expanded in the vertex shader to accommodate the halo without clipping.
98
+ - **`EmphasisApi.setEmphasisGlowEnabled(bool)`** — master toggle for the hover-dim glow/halo layer (default `true` when hover-dim is active).
99
+ - **`EmphasisApi.setEmphasisGlowStrength(n)`** — controls tube-glow intensity applied to the kept edge set during hover-dim.
100
+ - **`EmphasisApi.setEmphasisHaloStrength(n)`** — controls halo intensity applied to the kept node set during hover-dim.
101
+
102
+ ### Changed
103
+
104
+ - **`GraphCanvas` `hoverDim` prop now defaults to `true`** (was `false`). When hover-dim is active, kept edges receive tube glow and kept nodes receive a halo in addition to the rest being dimmed. **Hosts that relied on the old no-dim default should pass `hoverDim={false}` explicitly.**
105
+ - Note: the low-level `RenderEngineApi` / `HoverEmphasisController` default remains opt-in (`enabled: false`) — only the `GraphCanvas` product layer defaults on.
106
+
107
+ ## 0.3.0 — 2026-05-28
108
+
109
+ L2 UMD bundle release. Goal: drop into any HTML page without npm / React / Vite.
110
+
111
+ ### Added
112
+
113
+ - **UMD / IIFE build** at `dist/kineviz-gl.umd.js` (~3.6 MB unminified, ~1 MB gzipped). React, ReactDOM, Three.js r121, radix-ui, and every other dependency are bundled — customers only need a `<script>` tag.
114
+ - **`window.KinevizGL` global** exposing `{ mount(host, options), version }`. Multiple instances supported (each `mount()` returns an `{ update, patch, unmount }` handle).
115
+ - **`dist/kineviz-gl.css` stylesheet** for UMD consumers to load via `<link rel="stylesheet">`. Same content as the ESM/CJS `dist/index.css`.
116
+ - `build:umd` and `build:esm` package.json scripts (the generic `build` script now runs both).
117
+
118
+ ### Example
119
+
120
+ ```html
121
+ <link rel="stylesheet" href="./kineviz-gl.css" />
122
+ <script src="./kineviz-gl.umd.js"></script>
123
+ <script>
124
+ const instance = KinevizGL.mount(document.getElementById("root"), {
125
+ data: { nodes: [...], edges: [...] },
126
+ forceLayout: true,
127
+ theme: "dark",
128
+ });
129
+ // Later: instance.patch({ data: newData }) or instance.unmount();
130
+ </script>
131
+ ```
132
+
133
+ ### Notes
134
+
135
+ - UMD bundle hard-codes `process.env.NODE_ENV = "production"` for size + performance.
136
+ - Fonts (woff2) are inlined as base64 data URIs to keep UMD single-file. The ESM/CJS build still emits separate woff2 files for tree-shaking.
137
+ - The ESM/CJS public API (`@kineviz/gl` imports) is unchanged from 0.2.0.
138
+
139
+ ## 0.2.0 — 2026-05-28
140
+
141
+ L1 ergonomic defaults release. Goal: `<GraphCanvas data={...} />` actually renders.
142
+
143
+ ### Added
144
+
145
+ - **`<GraphCanvas data={...} />` mounts out of the box.** No `container` ref boilerplate required for the simplest case.
146
+ - **`style?: React.CSSProperties` prop** on `GraphCanvas`. Forwarded to the auto-created host div (merged over the default `{ width: "100%", height: "100%", position: "relative" }`).
147
+ - **`className?: string` prop** on `GraphCanvas`. Forwarded to the auto-created host div.
148
+
149
+ ### Changed
150
+
151
+ - **`container` prop is now optional.** When omitted, GraphCanvas creates and manages its own internal host div. When provided, behavior is unchanged.
152
+ - **`nodeCloud` and `edgeCloud` default to `true`** when no React children are passed. When children ARE present, defaults stay `undefined` so children-pattern stories keep their explicit cloud control.
153
+ - **Dev-mode warning** when `style` / `className` are combined with an external `container` prop — the host caller owns styling in that case.
154
+ - README Quick Start simplified to 5 lines.
155
+
156
+ ### Back-compat
157
+
158
+ - Existing call sites passing `container={...}`, `nodeCloud={true}`, `edgeCloud={true}` (or any explicit value) are unchanged.
159
+ - Children-pattern stories (custom `<TextLayer>` etc. as children) continue to render exactly as before — cloud defaults stay `undefined` when children are present.
160
+ - Audited internally: 77 explicit `nodeCloud=` / `edgeCloud=` usages all pass `={true}`, 0 pass `={false}`. No regressions found.
161
+
162
+ ## 0.1.0 — 2026-05-28
163
+
164
+ Initial commercial distribution release.
165
+
166
+ - React component embed with `GraphCanvas`, `GraphStore` injection-based ontology hook (`setOntologyRegistry`).
167
+ - `setLicenseKey` no-op stub reserved for future P3 license gating.
168
+ - Tarball delivery via `dist-release/kineviz-gl-0.1.0.tgz`.
169
+ - Bundle composition: `@kineviz/graph-core`, `@kineviz/gpu-compute`, `@kineviz/graph-algorithms`, `@kineviz/icons/ui` inlined; `@kineviz/ontology` opt-in peer; public-npm deps (radix, lodash, clsx, etc.) external.
170
+ - Peer deps: React `^18.0.0`, three `~0.121.0` (strict).
package/README.md CHANGED
@@ -195,6 +195,11 @@ function App() {
195
195
 
196
196
  Without ontology, `store.ontology` returns `null` and the engine renders raw category/relationship strings.
197
197
 
198
+ ## Changelog
199
+
200
+ Release notes for every version live in [`CHANGELOG.md`](./CHANGELOG.md) (shipped
201
+ in the package tarball, so it's also at `node_modules/@kineviz/gl/CHANGELOG.md`).
202
+
198
203
  ## License
199
204
 
200
205
  Commercial — see `LICENSE-COMMERCIAL.txt`.
package/dist/index.d.mts CHANGED
@@ -15203,6 +15203,13 @@ interface CoverageItem {
15203
15203
  beamWidthDeg?: number;
15204
15204
  /** Inner radius as a fraction of `radius` (annular gap near the tower). Default 0. */
15205
15205
  innerRadius?: number;
15206
+ /**
15207
+ * Render band — mirrors {@link PolygonItem.band}. `"overlay"` (default) draws the
15208
+ * wedge OVER the graph (in front of nodes & captions). `"underlay"` draws it on the
15209
+ * GROUND, behind nodes & captions, so labels stay legible over the footprint.
15210
+ * Layer-level: all items in one `set()` share the band (the first item's band wins).
15211
+ */
15212
+ band?: "underlay" | "overlay";
15206
15213
  }
15207
15214
  interface CoverageConfig {
15208
15215
  items: CoverageItem[];
@@ -15319,6 +15326,122 @@ declare class PolygonApi {
15319
15326
  private flush;
15320
15327
  }
15321
15328
 
15329
+ type CardPlacement = "auto" | "top" | "right" | "bottom" | "left";
15330
+ interface ResolvedNode {
15331
+ id: string;
15332
+ category: string;
15333
+ caption: string;
15334
+ properties: Record<string, unknown>;
15335
+ image: string | null;
15336
+ }
15337
+ type CardContent = {
15338
+ kind: "preset";
15339
+ preset: "property" | "media" | "list";
15340
+ data: Record<string, unknown>;
15341
+ } | {
15342
+ kind: "html";
15343
+ html: string;
15344
+ } | {
15345
+ kind: "render";
15346
+ fn: (node: ResolvedNode | null) => string | HTMLElement;
15347
+ } | {
15348
+ kind: "element";
15349
+ el: HTMLElement;
15350
+ };
15351
+ interface CardItem {
15352
+ id: string;
15353
+ /** Anchor to a node (card follows it). Either nodeId or position must be set. */
15354
+ nodeId?: string;
15355
+ /** Anchor to a fixed world-space position. Either nodeId or position must be set. */
15356
+ position?: [number, number, number];
15357
+ content: CardContent;
15358
+ placement: CardPlacement;
15359
+ offset: [number, number];
15360
+ connector: boolean;
15361
+ maxWidth: number;
15362
+ interactive: boolean;
15363
+ /** When true, the user can drag the card to a persistent offset relative to its anchor. */
15364
+ draggable: boolean;
15365
+ variant: "card" | "plain";
15366
+ className?: string;
15367
+ style?: Record<string, string | number>;
15368
+ }
15369
+
15370
+ declare class CardsManager {
15371
+ private items;
15372
+ private subs;
15373
+ set(items: CardItem[]): void;
15374
+ update(id: string, patch: Partial<CardItem>): void;
15375
+ remove(id: string): void;
15376
+ clear(): void;
15377
+ getAll(): CardItem[];
15378
+ onChange(cb: () => void): () => void;
15379
+ private emit;
15380
+ }
15381
+
15382
+ interface CardFraming {
15383
+ id?: string;
15384
+ /** Anchor to a node (card follows it). Either nodeId or position must be set. */
15385
+ nodeId?: string;
15386
+ /** Anchor to a fixed world-space position. Either nodeId or position must be set. */
15387
+ position?: [number, number, number];
15388
+ placement?: CardPlacement;
15389
+ offset?: [number, number];
15390
+ connector?: boolean;
15391
+ maxWidth?: number;
15392
+ interactive?: boolean;
15393
+ /** When true, the user can drag the card to a persistent offset. Default false. */
15394
+ draggable?: boolean;
15395
+ variant?: "card" | "plain";
15396
+ className?: string;
15397
+ style?: Record<string, string | number>;
15398
+ }
15399
+ type PresetSpec = CardFraming & {
15400
+ template: "property" | "media" | "list";
15401
+ [k: string]: unknown;
15402
+ };
15403
+ type HtmlSpec = CardFraming & {
15404
+ html: string;
15405
+ };
15406
+ type RenderSpec = CardFraming & {
15407
+ render: (node: ResolvedNode | null) => string | HTMLElement;
15408
+ };
15409
+ type ElementSpec = CardFraming & {
15410
+ element: HTMLElement;
15411
+ };
15412
+ type CardSpec = PresetSpec | HtmlSpec | RenderSpec | ElementSpec;
15413
+ type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
15414
+ /**
15415
+ * Public API surface for node info-cards overlaid on the graph canvas.
15416
+ *
15417
+ * Usage:
15418
+ * ```ts
15419
+ * api.cards.set([{ nodeId: "n1", template: "property" }]);
15420
+ * api.cards.set([{ position: [10, 0, 0], html: "<b>hello</b>", draggable: true }]);
15421
+ * api.cards.set("n2", { html: "<b>hello</b>" });
15422
+ * api.cards.clear("card:n1");
15423
+ * api.cards.clear();
15424
+ * ```
15425
+ */
15426
+ declare class CardsApi {
15427
+ readonly manager: CardsManager;
15428
+ /** Replace/add cards from a batch of specs. */
15429
+ set(specs: CardSpec[]): void;
15430
+ /** Replace/add a single card for `nodeId`. */
15431
+ set(nodeId: string, spec: DistributiveOmit<CardSpec, "nodeId">): void;
15432
+ /** Patch fields on an existing card by id. */
15433
+ update(id: string, patch: Partial<CardItem>): void;
15434
+ /** Returns true when a card with the given id is currently registered. */
15435
+ has(id: string): boolean;
15436
+ /**
15437
+ * Remove a single card by id, or all cards when called with no argument.
15438
+ * @param id - Card id to remove. Omit to clear everything.
15439
+ */
15440
+ clear(id?: string): void;
15441
+ private toItem;
15442
+ private resolveContent;
15443
+ }
15444
+
15322
15445
  /**
15323
15446
  * Construction options for {@link RenderEngineApi}.
15324
15447
  */
@@ -15435,6 +15558,8 @@ declare class RenderEngineApi$1 {
15435
15558
  readonly coverage: CoverageApi;
15436
15559
  /** Convenience sugar over api.layers for filled polygons / GeoJSON regions with geo→world resolution. */
15437
15560
  readonly polygon: PolygonApi;
15561
+ /** Node info-card overlays anchored to graph nodes in screen space. */
15562
+ readonly cards: CardsApi;
15438
15563
  /** Timeline-driven graph event playback effects. */
15439
15564
  readonly playback: PlaybackApi;
15440
15565
  /** Viewport chrome controls: minimap, theme, 2D/3D mode, and screenshot. */
@@ -16256,9 +16381,15 @@ interface MapConfig {
16256
16381
  * non-geo are HIDDEN (parked on the anchor); zooming in past `expandZoom`
16257
16382
  * (or hover/click) reveals them as the ring. Omit = always-expanded rings. */
16258
16383
  collapse?: {
16259
- /** Map zoom ≥ this reveals the ring; below hides the non-geo.
16260
- * `'always'`/`'never'` force the state. Default: `'never'` (always shown). */
16261
- expandZoom?: number | "always" | "never";
16384
+ /** Controls when an anchor's ring is revealed:
16385
+ * - number: map zoom ≥ this reveals the ring; below hides the non-geo.
16386
+ * - `"auto"`: the engine decides PER ANCHOR from on-screen crowding — an
16387
+ * anchor expands when the screen gap to its nearest anchor comfortably
16388
+ * fits its ring, and collapses when crowded (with hysteresis). Needs no
16389
+ * absolute zoom, so it adapts to any geographic scale (continent vs city)
16390
+ * and to mixed scales within one dataset. Recommended default.
16391
+ * - `"always"`/`"never"`: force the state. Default: `"never"` (always shown). */
16392
+ expandZoom?: number | "auto" | "always" | "never";
16262
16393
  /** Manual expand triggers in addition to zoom. Default: `["hover"]`. */
16263
16394
  expandOn?: ("hover" | "click")[];
16264
16395
  /** Ring radius ≤ this × nearest-anchor distance. Default 0.45. */
@@ -18206,6 +18337,50 @@ interface PolygonLayerProps {
18206
18337
  */
18207
18338
  declare function PolygonLayer({ items }: PolygonLayerProps): null;
18208
18339
 
18340
+ /** cloudScene-local position → { x, y } screen pixels + z NDC depth (z>1 = behind camera). */
18341
+ declare function localToNdc(localPos: THREE$1.Vector3, cloudScene: THREE$1.Object3D, camera: THREE$1.PerspectiveCamera, width: number, height: number): {
18342
+ x: number;
18343
+ y: number;
18344
+ z: number;
18345
+ };
18346
+
18347
+ /**
18348
+ * CardLayer — per-frame DOM overlay that keeps cards anchored to their nodes
18349
+ * or fixed world positions.
18350
+ *
18351
+ * Each card's position is reprojected from world-space to screen-space every
18352
+ * frame via `registerFrameCallback`, writing directly to DOM refs so no React
18353
+ * re-render is needed at 60 fps.
18354
+ *
18355
+ * CardLayerHost is the lazy gate: it mounts CardLayer only while ≥1 card exists,
18356
+ * keeping the overhead at zero when no cards are active.
18357
+ *
18358
+ * Usage (inside GraphCanvas or as a sibling with a shared CardsManager):
18359
+ * ```tsx
18360
+ * <CardLayerHost manager={cardsManager} store={store} container={containerEl} />
18361
+ * ```
18362
+ */
18363
+
18364
+ interface CardLayerProps {
18365
+ manager: CardsManager;
18366
+ store: GraphStore;
18367
+ /** Element used as the portal target and for viewport dimensions. */
18368
+ container: HTMLElement | null;
18369
+ /**
18370
+ * World→screen projector. Defaults to `localToNdc`.
18371
+ * Inject a deterministic stub in tests.
18372
+ */
18373
+ project?: typeof localToNdc;
18374
+ /**
18375
+ * Optional engine handle override. Defaults to `useGraphHandle()` (from
18376
+ * the ambient GraphContext). Tests inject a fake handle here so they
18377
+ * don't need a full GraphRenderer context.
18378
+ */
18379
+ handle?: Pick<GraphContextValue, "cloudScene" | "camera" | "registerFrameCallback">;
18380
+ }
18381
+ declare function CardLayer({ manager, store, container, project, handle: handleProp, }: CardLayerProps): React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>>;
18382
+ declare function CardLayerHost(props: CardLayerProps): React__default.ReactElement | null;
18383
+
18209
18384
  interface GeoLocalLayerProps {
18210
18385
  geoIds: string[];
18211
18386
  nonGeoIds: string[];
@@ -18250,6 +18425,14 @@ interface GeoLocalConfig {
18250
18425
  linkPx?: number;
18251
18426
  }
18252
18427
 
18428
+ /** Geometry a single anchor's auto-collapse decision is made from. */
18429
+ interface AnchorFitMetric {
18430
+ /** Outer ring radius the anchor's ring WOULD draw at, in screen px. */
18431
+ requiredPx: number;
18432
+ /** Screen-px distance from this anchor to its nearest OTHER anchor. */
18433
+ gapPx: number;
18434
+ }
18435
+
18253
18436
  interface GeoEgoRingLayerProps {
18254
18437
  geoIds: string[];
18255
18438
  nonGeoIds: string[];
@@ -18266,6 +18449,8 @@ interface GeoEgoRingLayerProps {
18266
18449
  neighbourCap?: number;
18267
18450
  /** Ring radius ≤ maxViewportFraction × viewport height in world units (default 0.25). */
18268
18451
  maxViewportFraction?: number;
18452
+ /** Receives the per-anchor screen-space fit metric on each radius rebuild (for the `expandZoom: "auto"` LOD). */
18453
+ onFitMetrics?: (metrics: ReadonlyMap<string, AnchorFitMetric>) => void;
18269
18454
  }
18270
18455
  /**
18271
18456
  * Declarative React wrapper for {@link GeoEgoRingRenderer}.
@@ -18288,7 +18473,7 @@ interface GeoEgoRingLayerProps {
18288
18473
  * Disconnected non-geo (no path to any geo anchor) are left to the world force
18289
18474
  * simulation. Pins are released on unmount.
18290
18475
  */
18291
- declare function GeoEgoRingLayer({ geoIds, nonGeoIds, edges, ringGapPx, expandedAnchors, neighbourCap, maxViewportFraction, }: GeoEgoRingLayerProps): null;
18476
+ declare function GeoEgoRingLayer({ geoIds, nonGeoIds, edges, ringGapPx, expandedAnchors, neighbourCap, maxViewportFraction, onFitMetrics, }: GeoEgoRingLayerProps): null;
18292
18477
 
18293
18478
  interface GeoEgoRingConfig {
18294
18479
  geoIds: string[];
@@ -18306,6 +18491,14 @@ interface GeoEgoRingConfig {
18306
18491
  neighbourCap?: number;
18307
18492
  /** ring radius ≤ maxViewportFraction × viewport height in world units (default 0.25). */
18308
18493
  maxViewportFraction?: number;
18494
+ /**
18495
+ * When set, the renderer publishes a per-anchor screen-space fit metric
18496
+ * (required ring radius + distance to nearest anchor, both in px) on every
18497
+ * radius rebuild. {@link EgoCollapseController} consumes it to drive the
18498
+ * `expandZoom: "auto"` level-of-detail. The metric is frame-correct because it
18499
+ * reuses the same screen scale this renderer already computes. Omit for zero cost.
18500
+ */
18501
+ onFitMetrics?: (metrics: ReadonlyMap<string, AnchorFitMetric>) => void;
18309
18502
  }
18310
18503
 
18311
18504
  interface AnchorEntry {
@@ -19591,4 +19784,4 @@ declare function createDefaultRegistry(): ToolRegistry$1;
19591
19784
 
19592
19785
  declare function useToolbarState(initialState?: Partial<ToolbarState>): Required<ToolbarControlledProps>;
19593
19786
 
19594
- export { ANCHOR_OFFSETS, ANCHOR_RADIUS_PX, type ActiveTween, type AggregateConfig, type AggregateOptions, type AggregatedEdge, type AggregatedEdgeTarget, type AlgorithmInfo, type AnimateOptions, type AnimationEasingType, AnimationManager, AnimationsApi, type AnyPickResult, type GraphSnapshot as ApiGraphSnapshot, type ApiOptions, type ApiStyleRule, type ApplyGeoLayoutOptions, type ApplyGeoLayoutResult, AxisLayer, type AxisLayerProps, type BackgroundPickResult, type BackgroundPointerEvent, type BadgeSpec, type BinningSource, type BufferTextSource, type BuildGeoPositionProviderOptions, type BuildGeoPositionProviderResult, CPULayoutProviderAdapter, CPUPositionProvider, CameraApi, type CameraPositionSource, CameraTween, type CameraTweenTarget, type CanvasEvent, type CapabilityState, type CaptionOptions, type CaptionProps, type CascadeHighlightConfig, CascadeHighlightEffect, type CategoricalFilter, type Category, type ClusterRevealConfig, ClusterRevealEffect, CollectionManager, type CollectionState, type ColorMappingOptions, type ColorValue, type ColumnMapping, type Command, type ConfigSource, type ConflictReport, ContextMenuManager, ContextMenuOverlay, type ContextMenuOverlayProps, type ContextMenuState, CoverageApi, type CoverageConfig, type CoverageItem, CoverageLayer, type CoverageLayerProps, type CoverageSpec, type CursorStyle, type CurveParams, DEFAULT_DOCK_POSITIONS, DEFAULT_FORCE_LAYOUT_CONFIG, DEFAULT_INTERACTION_CONFIG, DEFAULT_SHORTCUTS, DEFAULT_THEME_TO_PROVIDER, DEFAULT_TIMELINE_MESSAGES, type DateGranularity, type DateRangeSpec, type DecorationAnchor, type DefaultMenuActions, type DegreeSpec, type DirtyFlag, type DisableMapOptions, type DockRegistry, type DragEndEvent, DragHandler, type DragHandlerConfig, type DragMoveEvent, DragPositionsCommand, type DragStartEvent, type DragState, EASINGS, type EasingFn, type EdgeCaptionProps, EdgeClassifier, EdgeCloud, type EdgeCloudConfig, type EdgeCloudProps, type EdgeCreateCallback, EdgeCreateHandler, type EdgeCreateHandlerConfig, type EdgeCreateResult, type EdgeDefinition, type EdgeDrawConfig, EdgeDrawEffect, type EdgeEvent, type EdgeFilter, type EdgeFilterCommonSpec, type EdgeFlowConfig, EdgeFlowEffect, type EdgeGlowConfig, EdgeGlowEffect, type EdgeInput, type EdgeLike, type EdgePickResult, type EdgePointerEvent, type EdgePredicateFn, type EdgeProps, EdgeQuery, type EdgeRenderInfo, type EdgeRenderState, type EdgeSelector, type EdgeShape, EdgeTextCloud, type EdgeTextCloudConfig, type EdgeTextItem, EdgeTextLayer, type EdgeTextLayerProps, type EdgeType, EdgesApi, type Effect, EffectManager, type EgoRingNode, type ElementDefinition, type ElementState, EmphasisApi, type EnableMapOptions, type EngineCapabilities, type ErrorContext, type EventMap, type ExtractConfig, type ExtractOptions, FREE_PROVIDER_META, FilterApi, type FilterConfig, type FilterEntry, type FilterGroup, type FilterHandle, type FilterMatchCount, type FilterPreset, type FilterPublicType, type FilterResult, type FilterResultCallback, type FilterTarget, FlatLayer, type FlatLayerProps, type FlightSpec, FlowsApi, type FlyToBoundsOptions, type FlyToGeoOptions, type FlyToOptions, type FocusContextConfig, FocusContextEffect, type ForceLayoutConfig, type FreeProviderName, GPUEdgeRenderer, type GPUEdgeRendererConfig, GPUGroupRingRenderer, GPULayoutProviderAdapter, GPUNodeRenderer, type GPUNodeRendererConfig, GPUPositionProvider, type GeoBounds, type GeoEgoRingConfig, GeoEgoRingLayer, type GeoEgoRingLayerProps, type GeoJsonPolygonish, type GeoLocalConfig, GeoLocalLayer, type GeoLocalLayerProps, type GeoPosition, type GeoSearchResult, type GeocoderDescriptor, GlobeControl, type GlobeControlConfig, GlobeLayer, type GlobeLayerProps, GraphCanvas, type GraphCanvasProps, GraphContext, type GraphContextValue, GraphControl, type GraphControlConfig, type GraphEvent, type GraphEventHandler, type GraphEventType, type GraphFilterAPI, GraphFilterManager, GraphRenderer, type GraphRendererConfig, type GraphRendererProps, GraphStore, type GraphThemeConfig, type GraphThemeKey, GraphThemes, type GraphViewState, GroupCloud, GroupHitTest, GroupManager, type GroupOptions, type GroupSnapshot, type GroupSpec, GroupSphereRenderer, type GroupState, GroupsApi, type HeatDiffusionConfig, HeatDiffusionEffect, type HiddenState, HistoryApi, type HistoryChangeInfo, type HoverChangeEvent, HoverHandler, type HoverHandlerConfig, type HoverState, type HoverTarget, type IconAtlasConfig, IconAtlasManager, type IconEntry, type IconFontConfigExt, type IconSpec, type ImageArrayConfig, ImageAtlasManager, type ImageEntry, type ImageMappingOptions, type InteractionConfig, InteractionManager, type InteractionManagerConfig, type KeyBinding, KeyboardShortcutManager, type KeyboardShortcutManagerConfig, type LabelPosition$1 as LabelPosition, type LayerContext, type LayerOptions, type LayerRenderer, LayersApi, LayoutApi, type LayoutControllerInterface, type LayoutEndInfo, type LayoutEngine, type LayoutReadback, type LayoutRuntime, type LayoutRuntimeEventMap, LayoutRuntimeImpl, type LayoutRuntimeSnapshot, LegendPanel, type LegendPanelProps, type LinkConfig, type LinkOptions, MAX_BADGE_TEXT_CHARS, type MSDFFont, type MSDFGlyph, MapApi, type MapConfig, MapCoordinateProvider, type MapMode, type MapTileProvider, type MapTileProviderDescriptor, MapTileProviders, MapTransition, type MapTransitionConfig, type MapTransitionMode, MarkerLayer, type MarkerLayerProps, MarkerRenderer, type MarkerRendererConfig, type MarkerSpec, MarkersApi, type MatchSpec, type MenuContext, type MenuGroup, type MenuItem, type MergeConfig, type MergeOptions, type MetricPulseConfig, MetricPulseEffect, type MinimapConfig, MinimapLayer, type MinimapLayerProps, NOMINATIM_BASE_URL, type NodeBreatheConfig, NodeBreatheEffect, NodeCloud, type NodeCloudConfig, type NodeCloudProps, type NodeDefinition, type NodeDragEvent, type NodeEntranceConfig, NodeEntranceEffect, type NodeEvent, type NodeFilter, type NodeFilterCommonSpec, NodeInfoManager, NodeInfoPanel, type NodeInfoPanelProps, type NodeInfoState, type NodeInput, type NodeLike, type NodePickResult, type NodePointerEvent, type NodePredicateFn, type NodeProps, NodeQuery, type NodeRenderState, type NodeRippleConfig, NodeRippleEffect, type NodeSelector, type NodeShaderAttribute, type NodeShaderLayerSpec, type NodeSizeConfig, NodeSizeService, NodesApi, type ParsedDate, type ParsedSelector, type PathHighlightConfig, PathHighlightEffect, type PickResult, type PickType, Picker, PickerUtils, type PinnedState, PitchToggleButton, type PitchToggleButtonProps, type Platform, PlatformAdapter, type PlaybackConfig, type PlaybackOptions, type PluginInstallContext, type PointerEventBase, type PointerModifiers, PolygonApi, type PolygonConfig, type PolygonItem, PolygonLayer, type PolygonLayerProps, type PolygonSpec, type PositionMode, type PositionProvider, type PredicateFilter, type PropertyColorConfig, PropertyColorEffect, PropertyTween, type PropertyTweenConfig, QuickCreatePanel, type QuickCreatePanelProps, type RGB, type RangeFilter, type RangeSpec, type RelationshipType, type RenderBackendType, RenderEngineApi$1 as RenderEngineApi, EventBus as RenderEventBus, type ResolvedMenuItem, type ResolvedMenuSection, ScaledLODRadial, type SchemaCallbacks, type Scope, type ScreenshotOptions, type SearchOptions, SelectionApi, type SelectionChangeEvent, SelectionManager, type SelectionMode$1 as SelectionMode, type SelectionState, SelfLoopCloud, type SelfLoopCloudConfig, SetPositionsCommand, type ShortcutCategory, type ShortcutCommand, type ShortcutCommandDefinition, type ShortcutConfig, type ShortcutOptions, type SizeMappingOptions, type SkillContext, type SkillDef, type SkillInput, type SkillResult, SkillsApi, SlippyMapFlat, type SlippyMapFlatConfig, SlippyMapGlobe, type SlippyMapGlobeConfig, type SnapshotDiff, StaticPositionProvider, StyleApi, StyleMapper, type StyleRule, type Stylesheet$1 as Stylesheet, Stylesheet as StylesheetEngine, type TagId, type TagSpec, type TextAlign, TextCloud, type TextCloudConfig, type TextItem, TextLayer, type TextLayerProps, type TileUrlFn, Timeline, type TimelineAnnotation, TimelineApi, type Bin as TimelineBin, TimelineCanvas, type TimelineCanvasProps, type TimelineData, type TimelineEvent, type TimelineMeasure, type TimelinePlayOptions, type TimelineProps, type TimelineReplayConfig, TimelineReplayEffect, type TimelineTarget, type ToolItem, type ToolItemAction, type ToolItemParent, type ToolItemToggle, type ToolPriority, ToolRegistry$1 as ToolRegistry, type ToolSeparator, Toolbar, type ToolbarAction, type ToolbarContext, type ToolbarControlledProps, type ToolbarPlugin, type ToolbarProps, type ToolbarState, type TopologyFilter, TransformApi, type TransformResult, type TransitionOptions, type TransitionPhase, type UniformValue, type Unsubscribe$1 as Unsubscribe, type UpdateStrategy$1 as UpdateStrategy, UpdateStrategy as UpdateStrategyImpl, type UserShortcutConfig, type VectorTileStyle, type ViewEvent, type ViewEventHandler, type ViewEventType, type ViewInfo, type ViewRegistrationOptions, ViewRegistry, type ViewState, VisualMapper, advanceByGranularity, arrowFragmentShader, arrowVertexShader, buildShaderSources, cartesian2Polar, computeAirborne, computeEgoRing, createDefaultItems, createDefaultRegistry, createEdgeTextCloud, createNodeShaderLayer, createTextCloud, createVectorTileProvider, defaultEdgeStyles, defaultNodeStyles, defaultStylesheet, deg2Rad, detectDateProperty, dirtyFlagToAttributes, divergingColorScale, edgeFragmentShader, edgeVertexShader, findFirstImage, fitBounds, formatDate, getAttributesToUpdate, getBaseWorldRadius, getColorScheme, getEdgeClassifier, getGlobalViewRegistry, getNodeShaderSize, getNodeShaderSizeByValue, getNodeWorldRadius, getNodeWorldRadiusBySize, getProviderTileUrl, getScaleFn, hexToRgb, isImageUrl, nextGranularity, nodeFragmentShader, nodeVertexShader, nominatimGeocoder, normalizeEdgeIds, normalizeNodeIds, ordinalColorScale, parseDate, parseNominatim, pickingFragmentShader, pickingVertexShader, polar2Cartesian, prevGranularity, rad2Deg, renderOrderForSlot, requiresStructureRebuild, resetGlobalViewRegistry, resolveCaptionText, resolveNodeTitle, resolveTimelineMessages, selfLoopFragmentShader, selfLoopVertexShader, sequentialColorScale, setLicenseKey, sqrtScale, thresholdColorScale, truncateToGranularity, uniformGlslType, useAtlasManagers, useCamera, useCloudScene, useEffectiveMapProjection, useEngineLayer, useGraph, useGraphFilter, useGraphHandle, useGraphStore, useGraphVersion, useInteraction, useInvalidate, useIs3D, useIsMapMode, useLayer, useLayoutController, useLayoutPositionProvider, useMapDamping, useMapSphereRadius, useOptionalRenderEngineApi, useRenderEngineApi, useScene, useTextScales, useTheme, useTimelineData, useToolbarState, useViewStateField, vectorDark };
19787
+ export { ANCHOR_OFFSETS, ANCHOR_RADIUS_PX, type ActiveTween, type AggregateConfig, type AggregateOptions, type AggregatedEdge, type AggregatedEdgeTarget, type AlgorithmInfo, type AnimateOptions, type AnimationEasingType, AnimationManager, AnimationsApi, type AnyPickResult, type GraphSnapshot as ApiGraphSnapshot, type ApiOptions, type ApiStyleRule, type ApplyGeoLayoutOptions, type ApplyGeoLayoutResult, AxisLayer, type AxisLayerProps, type BackgroundPickResult, type BackgroundPointerEvent, type BadgeSpec, type BinningSource, type BufferTextSource, type BuildGeoPositionProviderOptions, type BuildGeoPositionProviderResult, CPULayoutProviderAdapter, CPUPositionProvider, CameraApi, type CameraPositionSource, CameraTween, type CameraTweenTarget, type CanvasEvent, type CapabilityState, type CaptionOptions, type CaptionProps, CardLayer, CardLayerHost, type CardLayerProps, type CardPlacement, type CardSpec, CardsApi, type CascadeHighlightConfig, CascadeHighlightEffect, type CategoricalFilter, type Category, type ClusterRevealConfig, ClusterRevealEffect, CollectionManager, type CollectionState, type ColorMappingOptions, type ColorValue, type ColumnMapping, type Command, type ConfigSource, type ConflictReport, ContextMenuManager, ContextMenuOverlay, type ContextMenuOverlayProps, type ContextMenuState, CoverageApi, type CoverageConfig, type CoverageItem, CoverageLayer, type CoverageLayerProps, type CoverageSpec, type CursorStyle, type CurveParams, DEFAULT_DOCK_POSITIONS, DEFAULT_FORCE_LAYOUT_CONFIG, DEFAULT_INTERACTION_CONFIG, DEFAULT_SHORTCUTS, DEFAULT_THEME_TO_PROVIDER, DEFAULT_TIMELINE_MESSAGES, type DateGranularity, type DateRangeSpec, type DecorationAnchor, type DefaultMenuActions, type DegreeSpec, type DirtyFlag, type DisableMapOptions, type DockRegistry, type DragEndEvent, DragHandler, type DragHandlerConfig, type DragMoveEvent, DragPositionsCommand, type DragStartEvent, type DragState, EASINGS, type EasingFn, type EdgeCaptionProps, EdgeClassifier, EdgeCloud, type EdgeCloudConfig, type EdgeCloudProps, type EdgeCreateCallback, EdgeCreateHandler, type EdgeCreateHandlerConfig, type EdgeCreateResult, type EdgeDefinition, type EdgeDrawConfig, EdgeDrawEffect, type EdgeEvent, type EdgeFilter, type EdgeFilterCommonSpec, type EdgeFlowConfig, EdgeFlowEffect, type EdgeGlowConfig, EdgeGlowEffect, type EdgeInput, type EdgeLike, type EdgePickResult, type EdgePointerEvent, type EdgePredicateFn, type EdgeProps, EdgeQuery, type EdgeRenderInfo, type EdgeRenderState, type EdgeSelector, type EdgeShape, EdgeTextCloud, type EdgeTextCloudConfig, type EdgeTextItem, EdgeTextLayer, type EdgeTextLayerProps, type EdgeType, EdgesApi, type Effect, EffectManager, type EgoRingNode, type ElementDefinition, type ElementState, EmphasisApi, type EnableMapOptions, type EngineCapabilities, type ErrorContext, type EventMap, type ExtractConfig, type ExtractOptions, FREE_PROVIDER_META, FilterApi, type FilterConfig, type FilterEntry, type FilterGroup, type FilterHandle, type FilterMatchCount, type FilterPreset, type FilterPublicType, type FilterResult, type FilterResultCallback, type FilterTarget, FlatLayer, type FlatLayerProps, type FlightSpec, FlowsApi, type FlyToBoundsOptions, type FlyToGeoOptions, type FlyToOptions, type FocusContextConfig, FocusContextEffect, type ForceLayoutConfig, type FreeProviderName, GPUEdgeRenderer, type GPUEdgeRendererConfig, GPUGroupRingRenderer, GPULayoutProviderAdapter, GPUNodeRenderer, type GPUNodeRendererConfig, GPUPositionProvider, type GeoBounds, type GeoEgoRingConfig, GeoEgoRingLayer, type GeoEgoRingLayerProps, type GeoJsonPolygonish, type GeoLocalConfig, GeoLocalLayer, type GeoLocalLayerProps, type GeoPosition, type GeoSearchResult, type GeocoderDescriptor, GlobeControl, type GlobeControlConfig, GlobeLayer, type GlobeLayerProps, GraphCanvas, type GraphCanvasProps, GraphContext, type GraphContextValue, GraphControl, type GraphControlConfig, type GraphEvent, type GraphEventHandler, type GraphEventType, type GraphFilterAPI, GraphFilterManager, GraphRenderer, type GraphRendererConfig, type GraphRendererProps, GraphStore, type GraphThemeConfig, type GraphThemeKey, GraphThemes, type GraphViewState, GroupCloud, GroupHitTest, GroupManager, type GroupOptions, type GroupSnapshot, type GroupSpec, GroupSphereRenderer, type GroupState, GroupsApi, type HeatDiffusionConfig, HeatDiffusionEffect, type HiddenState, HistoryApi, type HistoryChangeInfo, type HoverChangeEvent, HoverHandler, type HoverHandlerConfig, type HoverState, type HoverTarget, type IconAtlasConfig, IconAtlasManager, type IconEntry, type IconFontConfigExt, type IconSpec, type ImageArrayConfig, ImageAtlasManager, type ImageEntry, type ImageMappingOptions, type InteractionConfig, InteractionManager, type InteractionManagerConfig, type KeyBinding, KeyboardShortcutManager, type KeyboardShortcutManagerConfig, type LabelPosition$1 as LabelPosition, type LayerContext, type LayerOptions, type LayerRenderer, LayersApi, LayoutApi, type LayoutControllerInterface, type LayoutEndInfo, type LayoutEngine, type LayoutReadback, type LayoutRuntime, type LayoutRuntimeEventMap, LayoutRuntimeImpl, type LayoutRuntimeSnapshot, LegendPanel, type LegendPanelProps, type LinkConfig, type LinkOptions, MAX_BADGE_TEXT_CHARS, type MSDFFont, type MSDFGlyph, MapApi, type MapConfig, MapCoordinateProvider, type MapMode, type MapTileProvider, type MapTileProviderDescriptor, MapTileProviders, MapTransition, type MapTransitionConfig, type MapTransitionMode, MarkerLayer, type MarkerLayerProps, MarkerRenderer, type MarkerRendererConfig, type MarkerSpec, MarkersApi, type MatchSpec, type MenuContext, type MenuGroup, type MenuItem, type MergeConfig, type MergeOptions, type MetricPulseConfig, MetricPulseEffect, type MinimapConfig, MinimapLayer, type MinimapLayerProps, NOMINATIM_BASE_URL, type NodeBreatheConfig, NodeBreatheEffect, NodeCloud, type NodeCloudConfig, type NodeCloudProps, type NodeDefinition, type NodeDragEvent, type NodeEntranceConfig, NodeEntranceEffect, type NodeEvent, type NodeFilter, type NodeFilterCommonSpec, NodeInfoManager, NodeInfoPanel, type NodeInfoPanelProps, type NodeInfoState, type NodeInput, type NodeLike, type NodePickResult, type NodePointerEvent, type NodePredicateFn, type NodeProps, NodeQuery, type NodeRenderState, type NodeRippleConfig, NodeRippleEffect, type NodeSelector, type NodeShaderAttribute, type NodeShaderLayerSpec, type NodeSizeConfig, NodeSizeService, NodesApi, type ParsedDate, type ParsedSelector, type PathHighlightConfig, PathHighlightEffect, type PickResult, type PickType, Picker, PickerUtils, type PinnedState, PitchToggleButton, type PitchToggleButtonProps, type Platform, PlatformAdapter, type PlaybackConfig, type PlaybackOptions, type PluginInstallContext, type PointerEventBase, type PointerModifiers, PolygonApi, type PolygonConfig, type PolygonItem, PolygonLayer, type PolygonLayerProps, type PolygonSpec, type PositionMode, type PositionProvider, type PredicateFilter, type PropertyColorConfig, PropertyColorEffect, PropertyTween, type PropertyTweenConfig, QuickCreatePanel, type QuickCreatePanelProps, type RGB, type RangeFilter, type RangeSpec, type RelationshipType, type RenderBackendType, RenderEngineApi$1 as RenderEngineApi, EventBus as RenderEventBus, type ResolvedMenuItem, type ResolvedMenuSection, ScaledLODRadial, type SchemaCallbacks, type Scope, type ScreenshotOptions, type SearchOptions, SelectionApi, type SelectionChangeEvent, SelectionManager, type SelectionMode$1 as SelectionMode, type SelectionState, SelfLoopCloud, type SelfLoopCloudConfig, SetPositionsCommand, type ShortcutCategory, type ShortcutCommand, type ShortcutCommandDefinition, type ShortcutConfig, type ShortcutOptions, type SizeMappingOptions, type SkillContext, type SkillDef, type SkillInput, type SkillResult, SkillsApi, SlippyMapFlat, type SlippyMapFlatConfig, SlippyMapGlobe, type SlippyMapGlobeConfig, type SnapshotDiff, StaticPositionProvider, StyleApi, StyleMapper, type StyleRule, type Stylesheet$1 as Stylesheet, Stylesheet as StylesheetEngine, type TagId, type TagSpec, type TextAlign, TextCloud, type TextCloudConfig, type TextItem, TextLayer, type TextLayerProps, type TileUrlFn, Timeline, type TimelineAnnotation, TimelineApi, type Bin as TimelineBin, TimelineCanvas, type TimelineCanvasProps, type TimelineData, type TimelineEvent, type TimelineMeasure, type TimelinePlayOptions, type TimelineProps, type TimelineReplayConfig, TimelineReplayEffect, type TimelineTarget, type ToolItem, type ToolItemAction, type ToolItemParent, type ToolItemToggle, type ToolPriority, ToolRegistry$1 as ToolRegistry, type ToolSeparator, Toolbar, type ToolbarAction, type ToolbarContext, type ToolbarControlledProps, type ToolbarPlugin, type ToolbarProps, type ToolbarState, type TopologyFilter, TransformApi, type TransformResult, type TransitionOptions, type TransitionPhase, type UniformValue, type Unsubscribe$1 as Unsubscribe, type UpdateStrategy$1 as UpdateStrategy, UpdateStrategy as UpdateStrategyImpl, type UserShortcutConfig, type VectorTileStyle, type ViewEvent, type ViewEventHandler, type ViewEventType, type ViewInfo, type ViewRegistrationOptions, ViewRegistry, type ViewState, VisualMapper, advanceByGranularity, arrowFragmentShader, arrowVertexShader, buildShaderSources, cartesian2Polar, computeAirborne, computeEgoRing, createDefaultItems, createDefaultRegistry, createEdgeTextCloud, createNodeShaderLayer, createTextCloud, createVectorTileProvider, defaultEdgeStyles, defaultNodeStyles, defaultStylesheet, deg2Rad, detectDateProperty, dirtyFlagToAttributes, divergingColorScale, edgeFragmentShader, edgeVertexShader, findFirstImage, fitBounds, formatDate, getAttributesToUpdate, getBaseWorldRadius, getColorScheme, getEdgeClassifier, getGlobalViewRegistry, getNodeShaderSize, getNodeShaderSizeByValue, getNodeWorldRadius, getNodeWorldRadiusBySize, getProviderTileUrl, getScaleFn, hexToRgb, isImageUrl, nextGranularity, nodeFragmentShader, nodeVertexShader, nominatimGeocoder, normalizeEdgeIds, normalizeNodeIds, ordinalColorScale, parseDate, parseNominatim, pickingFragmentShader, pickingVertexShader, polar2Cartesian, prevGranularity, rad2Deg, renderOrderForSlot, requiresStructureRebuild, resetGlobalViewRegistry, resolveCaptionText, resolveNodeTitle, resolveTimelineMessages, selfLoopFragmentShader, selfLoopVertexShader, sequentialColorScale, setLicenseKey, sqrtScale, thresholdColorScale, truncateToGranularity, uniformGlslType, useAtlasManagers, useCamera, useCloudScene, useEffectiveMapProjection, useEngineLayer, useGraph, useGraphFilter, useGraphHandle, useGraphStore, useGraphVersion, useInteraction, useInvalidate, useIs3D, useIsMapMode, useLayer, useLayoutController, useLayoutPositionProvider, useMapDamping, useMapSphereRadius, useOptionalRenderEngineApi, useRenderEngineApi, useScene, useTextScales, useTheme, useTimelineData, useToolbarState, useViewStateField, vectorDark };