@kineviz/gl 0.5.2 → 0.6.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/CHANGELOG.md ADDED
@@ -0,0 +1,183 @@
1
+ # Changelog
2
+
3
+ All notable changes to `@kineviz/gl` are documented here.
4
+
5
+ ## 0.6.1 — 2026-08-05
6
+
7
+ Icons survive a slow font. Goal: an icon assigned before its font finishes
8
+ loading should still be drawn, instead of silently falling back.
9
+
10
+ ### Fixed
11
+
12
+ - **Icon UVs are re-resolved when a font arrives after the first attempt.** Assigning a category icon before its font had loaded resolved to nothing and stayed that way, so the glyph was dropped for the lifetime of the scene — hosts had to work around it by re-applying `setCategoryIcon` on a timer. `IconAtlasManager` now records unresolved requests and replays them once the font registers, and `GraphContext` re-runs resolution on font load. Covered by `tests/react/iconLateFontResolve.test.tsx`.
13
+
14
+ ### Added
15
+
16
+ - **`animals/horse` ontology glyph** (`0xe154`) in `@kineviz/icons`, with the ontology and UI fonts rebuilt. Note that `@kineviz/gl` does not ship font assets — consumers load the woff2 themselves, so picking up the new glyph means taking the rebuilt font from `@kineviz/icons`, not from this package.
17
+
18
+ ## 0.6.0 — 2026-06-29
19
+
20
+ Node-anchored info cards. Goal: attach rich, interactive HTML cards to graph
21
+ nodes that track their anchor every frame, with zero cost until used.
22
+
23
+ ### Added
24
+
25
+ - **`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`.
26
+ - `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?)`.
27
+ - Lazy-mounted (`CardLayerHost` gate) so there is no runtime cost until the first card is created.
28
+ - New public exports: `CardLayer`, `CardLayerHost`, `CardLayerProps`, `CardSpec`, `CardPlacement`.
29
+
30
+ ## 0.5.2 — 2026-06-27
31
+
32
+ Non-geo nodes on planar maps. Goal: nodes without lat/lng no longer drift to the
33
+ horizon or pile on the world origin when a map is shown — they hang off their
34
+ nearest geo neighbour as a readable, zoom-stable ego ring.
35
+
36
+ ### Added
37
+
38
+ - **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`.
39
+ - **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.
40
+ - **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.
41
+
42
+ ### Changed
43
+
44
+ - **`latLngToScreen` / `screenToLatLng` now delegate to a shared projection kernel**, giving planar and spherical map modes a single source of truth for local↔screen projection.
45
+
46
+ ### Fixed
47
+
48
+ - **Edges and arrows with a hidden endpoint now render at opacity 0** instead of stretching to a stale or visible position.
49
+ - **3D globe auto-fit now zooms to the data bounding box** (matching 2D) instead of stopping at a fixed regional cap.
50
+ - **Node-count ring spacing + smoother map zoom.**
51
+ - **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.
52
+
53
+ ## 0.5.1 — 2026-06-26
54
+
55
+ ### Added
56
+
57
+ - **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.
58
+ - **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`).
59
+ - **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`.
60
+ - **Coverage layer refinements** and two new example scenarios (`cell-sectors`, `comms-timeline`).
61
+
62
+ ## 0.5.0 — 2026-06-21
63
+
64
+ ### Added — API method schema registry (`@kineviz/gl/schemas`)
65
+
66
+ New subpath entry exporting `METHOD_SCHEMAS`: an engine-owned registry of zod
67
+ schemas for 193 blockable API methods across the 13 flow-allowlisted
68
+ namespaces (spec: `notes/specs/2026-06-12-api-method-schema-registry.md`).
69
+ Each entry records the method's positional argument layout (plain params +
70
+ trailing options object) so tooling (flow blocks, agents, MCP) can render
71
+ parameter forms and reconstruct calls. Schemas live next to the API code in
72
+ `src/api/schemas/` and are guarded against signature drift by type-level
73
+ assertions compiled in `tsc --noEmit`; the one-time typedoc bootstrap script
74
+ is kept under `scripts/` for reference only. A package `exports` map was
75
+ added — `"."`, `"./schemas"`, `"./dist/*"` (CSS deep imports preserved),
76
+ `"./assets/*"`.
77
+
78
+ 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.
79
+
80
+ ### Added
81
+
82
+ - **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).
83
+
84
+ ### Changed
85
+
86
+ - **`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.
87
+ - **Raw `useContext(GraphContext)` consumers no longer re-render on reactive field changes** — subscribe via `useGraph()` or the per-field hooks instead.
88
+ - The 13 reactive fields on `GraphContextValue` are now `readonly` (they were never meant to be assigned; assignment now fails at compile time).
89
+ - `useGraphVersion()` / `useGraphIconVersion()` no longer carry a whole-view-state subscription.
90
+
91
+ ### Fixed
92
+
93
+ - **`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.
94
+ - **MinimapLayer now reacts to `layoutController` / `layoutPositionProvider` wiring** instead of only noticing it on the next incidental re-render.
95
+ - **Internal node renderer's `lightMode` now follows runtime theme changes** in the bare `<GraphCanvas>` (no `<NodeCloud>` child) path.
96
+ - `setMapMode` / `setMapDamping` keep `mapDamping` / `mapSphereRadius` live for same-mode calls (previously stale until the next mode flip).
97
+ - **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.
98
+ - **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:
99
+ - **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.
100
+ - **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.
101
+ 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.
102
+
103
+ ## 0.4.0 — 2026-05-31
104
+
105
+ 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.
106
+
107
+ ### Added
108
+
109
+ - **`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.
110
+ - **`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.
111
+ - **`EmphasisApi.setEmphasisGlowEnabled(bool)`** — master toggle for the hover-dim glow/halo layer (default `true` when hover-dim is active).
112
+ - **`EmphasisApi.setEmphasisGlowStrength(n)`** — controls tube-glow intensity applied to the kept edge set during hover-dim.
113
+ - **`EmphasisApi.setEmphasisHaloStrength(n)`** — controls halo intensity applied to the kept node set during hover-dim.
114
+
115
+ ### Changed
116
+
117
+ - **`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.**
118
+ - Note: the low-level `RenderEngineApi` / `HoverEmphasisController` default remains opt-in (`enabled: false`) — only the `GraphCanvas` product layer defaults on.
119
+
120
+ ## 0.3.0 — 2026-05-28
121
+
122
+ L2 UMD bundle release. Goal: drop into any HTML page without npm / React / Vite.
123
+
124
+ ### Added
125
+
126
+ - **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.
127
+ - **`window.KinevizGL` global** exposing `{ mount(host, options), version }`. Multiple instances supported (each `mount()` returns an `{ update, patch, unmount }` handle).
128
+ - **`dist/kineviz-gl.css` stylesheet** for UMD consumers to load via `<link rel="stylesheet">`. Same content as the ESM/CJS `dist/index.css`.
129
+ - `build:umd` and `build:esm` package.json scripts (the generic `build` script now runs both).
130
+
131
+ ### Example
132
+
133
+ ```html
134
+ <link rel="stylesheet" href="./kineviz-gl.css" />
135
+ <script src="./kineviz-gl.umd.js"></script>
136
+ <script>
137
+ const instance = KinevizGL.mount(document.getElementById("root"), {
138
+ data: { nodes: [...], edges: [...] },
139
+ forceLayout: true,
140
+ theme: "dark",
141
+ });
142
+ // Later: instance.patch({ data: newData }) or instance.unmount();
143
+ </script>
144
+ ```
145
+
146
+ ### Notes
147
+
148
+ - UMD bundle hard-codes `process.env.NODE_ENV = "production"` for size + performance.
149
+ - 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.
150
+ - The ESM/CJS public API (`@kineviz/gl` imports) is unchanged from 0.2.0.
151
+
152
+ ## 0.2.0 — 2026-05-28
153
+
154
+ L1 ergonomic defaults release. Goal: `<GraphCanvas data={...} />` actually renders.
155
+
156
+ ### Added
157
+
158
+ - **`<GraphCanvas data={...} />` mounts out of the box.** No `container` ref boilerplate required for the simplest case.
159
+ - **`style?: React.CSSProperties` prop** on `GraphCanvas`. Forwarded to the auto-created host div (merged over the default `{ width: "100%", height: "100%", position: "relative" }`).
160
+ - **`className?: string` prop** on `GraphCanvas`. Forwarded to the auto-created host div.
161
+
162
+ ### Changed
163
+
164
+ - **`container` prop is now optional.** When omitted, GraphCanvas creates and manages its own internal host div. When provided, behavior is unchanged.
165
+ - **`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.
166
+ - **Dev-mode warning** when `style` / `className` are combined with an external `container` prop — the host caller owns styling in that case.
167
+ - README Quick Start simplified to 5 lines.
168
+
169
+ ### Back-compat
170
+
171
+ - Existing call sites passing `container={...}`, `nodeCloud={true}`, `edgeCloud={true}` (or any explicit value) are unchanged.
172
+ - Children-pattern stories (custom `<TextLayer>` etc. as children) continue to render exactly as before — cloud defaults stay `undefined` when children are present.
173
+ - Audited internally: 77 explicit `nodeCloud=` / `edgeCloud=` usages all pass `={true}`, 0 pass `={false}`. No regressions found.
174
+
175
+ ## 0.1.0 — 2026-05-28
176
+
177
+ Initial commercial distribution release.
178
+
179
+ - React component embed with `GraphCanvas`, `GraphStore` injection-based ontology hook (`setOntologyRegistry`).
180
+ - `setLicenseKey` no-op stub reserved for future P3 license gating.
181
+ - Tarball delivery via `dist-release/kineviz-gl-0.1.0.tgz`.
182
+ - 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.
183
+ - 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
@@ -5750,6 +5750,16 @@ interface ImageEntry {
5750
5750
 
5751
5751
  declare class IconAtlasManager {
5752
5752
  private fonts;
5753
+ /**
5754
+ * Bumped every time a font is registered.
5755
+ *
5756
+ * Consumers cache icon-name -> UV resolutions. A name that could not be
5757
+ * resolved before may resolve now, so anything holding such a cache must be
5758
+ * able to tell that the atlas has changed underneath it. `hasFonts()` cannot
5759
+ * serve this purpose: the built-in marker font is registered first, so it is
5760
+ * true from the start even while a user-supplied font is still loading.
5761
+ */
5762
+ private _fontsVersion;
5753
5763
  private iconCache;
5754
5764
  private textureSize;
5755
5765
  private textureData;
@@ -5799,6 +5809,8 @@ declare class IconAtlasManager {
5799
5809
  getTexture(): THREE$1.DataTexture;
5800
5810
  /** Check if texture was recreated and needs rebinding */
5801
5811
  isDirty(): boolean;
5812
+ /** Changes whenever a font is registered. See `_fontsVersion`. */
5813
+ get fontsVersion(): number;
5802
5814
  /** Check if any fonts are registered */
5803
5815
  hasFonts(): boolean;
5804
5816
  /**
@@ -15203,6 +15215,13 @@ interface CoverageItem {
15203
15215
  beamWidthDeg?: number;
15204
15216
  /** Inner radius as a fraction of `radius` (annular gap near the tower). Default 0. */
15205
15217
  innerRadius?: number;
15218
+ /**
15219
+ * Render band — mirrors {@link PolygonItem.band}. `"overlay"` (default) draws the
15220
+ * wedge OVER the graph (in front of nodes & captions). `"underlay"` draws it on the
15221
+ * GROUND, behind nodes & captions, so labels stay legible over the footprint.
15222
+ * Layer-level: all items in one `set()` share the band (the first item's band wins).
15223
+ */
15224
+ band?: "underlay" | "overlay";
15206
15225
  }
15207
15226
  interface CoverageConfig {
15208
15227
  items: CoverageItem[];
@@ -15319,6 +15338,122 @@ declare class PolygonApi {
15319
15338
  private flush;
15320
15339
  }
15321
15340
 
15341
+ type CardPlacement = "auto" | "top" | "right" | "bottom" | "left";
15342
+ interface ResolvedNode {
15343
+ id: string;
15344
+ category: string;
15345
+ caption: string;
15346
+ properties: Record<string, unknown>;
15347
+ image: string | null;
15348
+ }
15349
+ type CardContent = {
15350
+ kind: "preset";
15351
+ preset: "property" | "media" | "list";
15352
+ data: Record<string, unknown>;
15353
+ } | {
15354
+ kind: "html";
15355
+ html: string;
15356
+ } | {
15357
+ kind: "render";
15358
+ fn: (node: ResolvedNode | null) => string | HTMLElement;
15359
+ } | {
15360
+ kind: "element";
15361
+ el: HTMLElement;
15362
+ };
15363
+ interface CardItem {
15364
+ id: string;
15365
+ /** Anchor to a node (card follows it). Either nodeId or position must be set. */
15366
+ nodeId?: string;
15367
+ /** Anchor to a fixed world-space position. Either nodeId or position must be set. */
15368
+ position?: [number, number, number];
15369
+ content: CardContent;
15370
+ placement: CardPlacement;
15371
+ offset: [number, number];
15372
+ connector: boolean;
15373
+ maxWidth: number;
15374
+ interactive: boolean;
15375
+ /** When true, the user can drag the card to a persistent offset relative to its anchor. */
15376
+ draggable: boolean;
15377
+ variant: "card" | "plain";
15378
+ className?: string;
15379
+ style?: Record<string, string | number>;
15380
+ }
15381
+
15382
+ declare class CardsManager {
15383
+ private items;
15384
+ private subs;
15385
+ set(items: CardItem[]): void;
15386
+ update(id: string, patch: Partial<CardItem>): void;
15387
+ remove(id: string): void;
15388
+ clear(): void;
15389
+ getAll(): CardItem[];
15390
+ onChange(cb: () => void): () => void;
15391
+ private emit;
15392
+ }
15393
+
15394
+ interface CardFraming {
15395
+ id?: string;
15396
+ /** Anchor to a node (card follows it). Either nodeId or position must be set. */
15397
+ nodeId?: string;
15398
+ /** Anchor to a fixed world-space position. Either nodeId or position must be set. */
15399
+ position?: [number, number, number];
15400
+ placement?: CardPlacement;
15401
+ offset?: [number, number];
15402
+ connector?: boolean;
15403
+ maxWidth?: number;
15404
+ interactive?: boolean;
15405
+ /** When true, the user can drag the card to a persistent offset. Default false. */
15406
+ draggable?: boolean;
15407
+ variant?: "card" | "plain";
15408
+ className?: string;
15409
+ style?: Record<string, string | number>;
15410
+ }
15411
+ type PresetSpec = CardFraming & {
15412
+ template: "property" | "media" | "list";
15413
+ [k: string]: unknown;
15414
+ };
15415
+ type HtmlSpec = CardFraming & {
15416
+ html: string;
15417
+ };
15418
+ type RenderSpec = CardFraming & {
15419
+ render: (node: ResolvedNode | null) => string | HTMLElement;
15420
+ };
15421
+ type ElementSpec = CardFraming & {
15422
+ element: HTMLElement;
15423
+ };
15424
+ type CardSpec = PresetSpec | HtmlSpec | RenderSpec | ElementSpec;
15425
+ type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
15426
+ /**
15427
+ * Public API surface for node info-cards overlaid on the graph canvas.
15428
+ *
15429
+ * Usage:
15430
+ * ```ts
15431
+ * api.cards.set([{ nodeId: "n1", template: "property" }]);
15432
+ * api.cards.set([{ position: [10, 0, 0], html: "<b>hello</b>", draggable: true }]);
15433
+ * api.cards.set("n2", { html: "<b>hello</b>" });
15434
+ * api.cards.clear("card:n1");
15435
+ * api.cards.clear();
15436
+ * ```
15437
+ */
15438
+ declare class CardsApi {
15439
+ readonly manager: CardsManager;
15440
+ /** Replace/add cards from a batch of specs. */
15441
+ set(specs: CardSpec[]): void;
15442
+ /** Replace/add a single card for `nodeId`. */
15443
+ set(nodeId: string, spec: DistributiveOmit<CardSpec, "nodeId">): void;
15444
+ /** Patch fields on an existing card by id. */
15445
+ update(id: string, patch: Partial<CardItem>): void;
15446
+ /** Returns true when a card with the given id is currently registered. */
15447
+ has(id: string): boolean;
15448
+ /**
15449
+ * Remove a single card by id, or all cards when called with no argument.
15450
+ * @param id - Card id to remove. Omit to clear everything.
15451
+ */
15452
+ clear(id?: string): void;
15453
+ private toItem;
15454
+ private resolveContent;
15455
+ }
15456
+
15322
15457
  /**
15323
15458
  * Construction options for {@link RenderEngineApi}.
15324
15459
  */
@@ -15435,6 +15570,8 @@ declare class RenderEngineApi$1 {
15435
15570
  readonly coverage: CoverageApi;
15436
15571
  /** Convenience sugar over api.layers for filled polygons / GeoJSON regions with geo→world resolution. */
15437
15572
  readonly polygon: PolygonApi;
15573
+ /** Node info-card overlays anchored to graph nodes in screen space. */
15574
+ readonly cards: CardsApi;
15438
15575
  /** Timeline-driven graph event playback effects. */
15439
15576
  readonly playback: PlaybackApi;
15440
15577
  /** Viewport chrome controls: minimap, theme, 2D/3D mode, and screenshot. */
@@ -16256,9 +16393,15 @@ interface MapConfig {
16256
16393
  * non-geo are HIDDEN (parked on the anchor); zooming in past `expandZoom`
16257
16394
  * (or hover/click) reveals them as the ring. Omit = always-expanded rings. */
16258
16395
  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";
16396
+ /** Controls when an anchor's ring is revealed:
16397
+ * - number: map zoom ≥ this reveals the ring; below hides the non-geo.
16398
+ * - `"auto"`: the engine decides PER ANCHOR from on-screen crowding — an
16399
+ * anchor expands when the screen gap to its nearest anchor comfortably
16400
+ * fits its ring, and collapses when crowded (with hysteresis). Needs no
16401
+ * absolute zoom, so it adapts to any geographic scale (continent vs city)
16402
+ * and to mixed scales within one dataset. Recommended default.
16403
+ * - `"always"`/`"never"`: force the state. Default: `"never"` (always shown). */
16404
+ expandZoom?: number | "auto" | "always" | "never";
16262
16405
  /** Manual expand triggers in addition to zoom. Default: `["hover"]`. */
16263
16406
  expandOn?: ("hover" | "click")[];
16264
16407
  /** Ring radius ≤ this × nearest-anchor distance. Default 0.45. */
@@ -18206,6 +18349,50 @@ interface PolygonLayerProps {
18206
18349
  */
18207
18350
  declare function PolygonLayer({ items }: PolygonLayerProps): null;
18208
18351
 
18352
+ /** cloudScene-local position → { x, y } screen pixels + z NDC depth (z>1 = behind camera). */
18353
+ declare function localToNdc(localPos: THREE$1.Vector3, cloudScene: THREE$1.Object3D, camera: THREE$1.PerspectiveCamera, width: number, height: number): {
18354
+ x: number;
18355
+ y: number;
18356
+ z: number;
18357
+ };
18358
+
18359
+ /**
18360
+ * CardLayer — per-frame DOM overlay that keeps cards anchored to their nodes
18361
+ * or fixed world positions.
18362
+ *
18363
+ * Each card's position is reprojected from world-space to screen-space every
18364
+ * frame via `registerFrameCallback`, writing directly to DOM refs so no React
18365
+ * re-render is needed at 60 fps.
18366
+ *
18367
+ * CardLayerHost is the lazy gate: it mounts CardLayer only while ≥1 card exists,
18368
+ * keeping the overhead at zero when no cards are active.
18369
+ *
18370
+ * Usage (inside GraphCanvas or as a sibling with a shared CardsManager):
18371
+ * ```tsx
18372
+ * <CardLayerHost manager={cardsManager} store={store} container={containerEl} />
18373
+ * ```
18374
+ */
18375
+
18376
+ interface CardLayerProps {
18377
+ manager: CardsManager;
18378
+ store: GraphStore;
18379
+ /** Element used as the portal target and for viewport dimensions. */
18380
+ container: HTMLElement | null;
18381
+ /**
18382
+ * World→screen projector. Defaults to `localToNdc`.
18383
+ * Inject a deterministic stub in tests.
18384
+ */
18385
+ project?: typeof localToNdc;
18386
+ /**
18387
+ * Optional engine handle override. Defaults to `useGraphHandle()` (from
18388
+ * the ambient GraphContext). Tests inject a fake handle here so they
18389
+ * don't need a full GraphRenderer context.
18390
+ */
18391
+ handle?: Pick<GraphContextValue, "cloudScene" | "camera" | "registerFrameCallback">;
18392
+ }
18393
+ declare function CardLayer({ manager, store, container, project, handle: handleProp, }: CardLayerProps): React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>>;
18394
+ declare function CardLayerHost(props: CardLayerProps): React__default.ReactElement | null;
18395
+
18209
18396
  interface GeoLocalLayerProps {
18210
18397
  geoIds: string[];
18211
18398
  nonGeoIds: string[];
@@ -18250,6 +18437,14 @@ interface GeoLocalConfig {
18250
18437
  linkPx?: number;
18251
18438
  }
18252
18439
 
18440
+ /** Geometry a single anchor's auto-collapse decision is made from. */
18441
+ interface AnchorFitMetric {
18442
+ /** Outer ring radius the anchor's ring WOULD draw at, in screen px. */
18443
+ requiredPx: number;
18444
+ /** Screen-px distance from this anchor to its nearest OTHER anchor. */
18445
+ gapPx: number;
18446
+ }
18447
+
18253
18448
  interface GeoEgoRingLayerProps {
18254
18449
  geoIds: string[];
18255
18450
  nonGeoIds: string[];
@@ -18266,6 +18461,8 @@ interface GeoEgoRingLayerProps {
18266
18461
  neighbourCap?: number;
18267
18462
  /** Ring radius ≤ maxViewportFraction × viewport height in world units (default 0.25). */
18268
18463
  maxViewportFraction?: number;
18464
+ /** Receives the per-anchor screen-space fit metric on each radius rebuild (for the `expandZoom: "auto"` LOD). */
18465
+ onFitMetrics?: (metrics: ReadonlyMap<string, AnchorFitMetric>) => void;
18269
18466
  }
18270
18467
  /**
18271
18468
  * Declarative React wrapper for {@link GeoEgoRingRenderer}.
@@ -18288,7 +18485,7 @@ interface GeoEgoRingLayerProps {
18288
18485
  * Disconnected non-geo (no path to any geo anchor) are left to the world force
18289
18486
  * simulation. Pins are released on unmount.
18290
18487
  */
18291
- declare function GeoEgoRingLayer({ geoIds, nonGeoIds, edges, ringGapPx, expandedAnchors, neighbourCap, maxViewportFraction, }: GeoEgoRingLayerProps): null;
18488
+ declare function GeoEgoRingLayer({ geoIds, nonGeoIds, edges, ringGapPx, expandedAnchors, neighbourCap, maxViewportFraction, onFitMetrics, }: GeoEgoRingLayerProps): null;
18292
18489
 
18293
18490
  interface GeoEgoRingConfig {
18294
18491
  geoIds: string[];
@@ -18306,6 +18503,14 @@ interface GeoEgoRingConfig {
18306
18503
  neighbourCap?: number;
18307
18504
  /** ring radius ≤ maxViewportFraction × viewport height in world units (default 0.25). */
18308
18505
  maxViewportFraction?: number;
18506
+ /**
18507
+ * When set, the renderer publishes a per-anchor screen-space fit metric
18508
+ * (required ring radius + distance to nearest anchor, both in px) on every
18509
+ * radius rebuild. {@link EgoCollapseController} consumes it to drive the
18510
+ * `expandZoom: "auto"` level-of-detail. The metric is frame-correct because it
18511
+ * reuses the same screen scale this renderer already computes. Omit for zero cost.
18512
+ */
18513
+ onFitMetrics?: (metrics: ReadonlyMap<string, AnchorFitMetric>) => void;
18309
18514
  }
18310
18515
 
18311
18516
  interface AnchorEntry {
@@ -19591,4 +19796,4 @@ declare function createDefaultRegistry(): ToolRegistry$1;
19591
19796
 
19592
19797
  declare function useToolbarState(initialState?: Partial<ToolbarState>): Required<ToolbarControlledProps>;
19593
19798
 
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 };
19799
+ 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 };