@kineviz/gl 0.5.1 → 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 +170 -0
- package/README.md +5 -0
- package/dist/index.d.mts +435 -8
- package/dist/index.d.ts +435 -8
- package/dist/index.js +159 -85
- package/dist/index.mjs +160 -86
- package/dist/kineviz-gl.umd.js +309 -235
- package/dist/schemas.js +1 -1
- package/dist/schemas.mjs +1 -1
- package/package.json +17 -3
package/dist/index.d.ts
CHANGED
|
@@ -13436,11 +13436,14 @@ interface ApplyGeoLayoutOptions {
|
|
|
13436
13436
|
mapSize?: number;
|
|
13437
13437
|
/**
|
|
13438
13438
|
* How to place nodes that lack a valid lat/lng.
|
|
13439
|
-
* - `'autoPlace'` (default):
|
|
13440
|
-
*
|
|
13441
|
-
*
|
|
13442
|
-
*
|
|
13443
|
-
*
|
|
13439
|
+
* - `'autoPlace'` (default): a wavefront BFS out from the geo anchors. Each
|
|
13440
|
+
* non-geo node is teleported to the centroid of its *already-placed*
|
|
13441
|
+
* neighbors (with a small random jitter so co-edged nodes don't stack),
|
|
13442
|
+
* so even multi-hop non-geo nodes (non-geo → non-geo → geo) hang off the
|
|
13443
|
+
* geo cluster instead of being stranded at their far force-layout
|
|
13444
|
+
* positions. Nodes with no path to any geo node fall to `nonGeoFallback`.
|
|
13445
|
+
* Removes the "drift in from afar" delay the user otherwise sees on Show
|
|
13446
|
+
* Map.
|
|
13444
13447
|
* - `'preserve'`: leave non-geo positions where they were; rely solely on
|
|
13445
13448
|
* force layout to pull them in over time.
|
|
13446
13449
|
*
|
|
@@ -13449,6 +13452,30 @@ interface ApplyGeoLayoutOptions {
|
|
|
13449
13452
|
* below the map in 3D camera views.
|
|
13450
13453
|
*/
|
|
13451
13454
|
nonGeoStrategy?: "autoPlace" | "preserve";
|
|
13455
|
+
/**
|
|
13456
|
+
* What to do (under `nonGeoStrategy: 'autoPlace'`) with non-geo nodes that
|
|
13457
|
+
* have NO graph path to any geo node — an isolated non-geo component the
|
|
13458
|
+
* BFS can't anchor. These are reported in
|
|
13459
|
+
* {@link ApplyGeoLayoutResult.disconnectedNonGeoIds} either way.
|
|
13460
|
+
* - `'preserve'` (default): keep their current x/y (planar still flattens
|
|
13461
|
+
* z to 0). They stay wherever force layout last put them.
|
|
13462
|
+
* - `'geoCentroid'`: park them at the centroid of all geo nodes (+ jitter)
|
|
13463
|
+
* so they sit near the data's geographic center instead of far off-map.
|
|
13464
|
+
*
|
|
13465
|
+
* Ignored when `nonGeoStrategy: 'preserve'`.
|
|
13466
|
+
*/
|
|
13467
|
+
nonGeoFallback?: "preserve" | "geoCentroid";
|
|
13468
|
+
/**
|
|
13469
|
+
* Whether to PIN the auto-placed non-geo nodes (default `true`). Non-geo
|
|
13470
|
+
* nodes have no lat/lng anchor, so if left unpinned the live force
|
|
13471
|
+
* simulation disperses them across the map right after `autoPlace` positions
|
|
13472
|
+
* them (geo nodes are pinned and tight; unpinned non-geo blow out to the map
|
|
13473
|
+
* edges). Pinning freezes them at their BFS-anchored positions — matching the
|
|
13474
|
+
* legacy globe path. Set `false` to keep them draggable / force-driven (and
|
|
13475
|
+
* accept the dispersal, or pair with your own constrained-force handling).
|
|
13476
|
+
* Only applies under `nonGeoStrategy: 'autoPlace'`.
|
|
13477
|
+
*/
|
|
13478
|
+
pinAutoPlaced?: boolean;
|
|
13452
13479
|
/**
|
|
13453
13480
|
* Simulation alpha to set after applying positions, to drive remaining
|
|
13454
13481
|
* convergence (e.g. for non-geo nodes that still need to settle). Set to
|
|
@@ -13468,8 +13495,17 @@ interface ApplyGeoLayoutOptions {
|
|
|
13468
13495
|
interface ApplyGeoLayoutResult {
|
|
13469
13496
|
/** IDs of nodes that were positioned + pinned. */
|
|
13470
13497
|
geoNodeIds: string[];
|
|
13471
|
-
/** IDs of nodes
|
|
13498
|
+
/** IDs of nodes that lacked a valid lat/lng. */
|
|
13472
13499
|
nonGeoNodeIds: string[];
|
|
13500
|
+
/**
|
|
13501
|
+
* Subset of `nonGeoNodeIds` that the autoPlace BFS could NOT anchor because
|
|
13502
|
+
* they have no graph path to any geo node (an isolated non-geo component).
|
|
13503
|
+
* Their final position is governed by `nonGeoFallback`. Callers that prefer
|
|
13504
|
+
* to drop them from the map view can `api.nodes.hide(disconnectedNonGeoIds)`.
|
|
13505
|
+
* Empty under `nonGeoStrategy: 'preserve'` is NOT guaranteed — the field
|
|
13506
|
+
* always reflects geo-reachability, computed independently of strategy.
|
|
13507
|
+
*/
|
|
13508
|
+
disconnectedNonGeoIds: string[];
|
|
13473
13509
|
/** The lat/lng property names that were used, or `null` if none matched. */
|
|
13474
13510
|
resolvedMapping: {
|
|
13475
13511
|
lat: string;
|
|
@@ -13771,6 +13807,20 @@ declare class MapApi {
|
|
|
13771
13807
|
* Phase 1: records state and emits event. Scene wiring is Phase 2/3.
|
|
13772
13808
|
*/
|
|
13773
13809
|
enableMap(options?: EnableMapOptions): Promise<void>;
|
|
13810
|
+
/**
|
|
13811
|
+
* Compute a `mapSize` (planar only) so the geo nodes' geographic bounding box
|
|
13812
|
+
* spans ~`TARGET_WORLD_SPAN` world units — the scale at which the force
|
|
13813
|
+
* layout's default `linkDistance` lands non-geo nodes *next to* their geo
|
|
13814
|
+
* neighbors (like the legacy viewport-scaled map) instead of flinging them to
|
|
13815
|
+
* the horizon. Returns `null` (→ caller falls back to 10) when there's no
|
|
13816
|
+
* usable geo extent: spherical mode, <2 geo nodes, or all geo at one point.
|
|
13817
|
+
*
|
|
13818
|
+
* This scales the PROJECTION, not the force params, so non-map force layout
|
|
13819
|
+
* is provably unaffected. Result is clamped to [MIN, MAX] so extreme datasets
|
|
13820
|
+
* (a single city, or two antipodal points) don't push tile LOD / camera
|
|
13821
|
+
* planes out of range.
|
|
13822
|
+
*/
|
|
13823
|
+
computeAdaptiveMapSize(mode: MapMode): number | null;
|
|
13774
13824
|
/**
|
|
13775
13825
|
* Arm a 2D↔3D layer swap (FlatLayer↔GlobeLayer): the `disableMap()` fired
|
|
13776
13826
|
* by the OUTGOING layer's unmount cleanup is part of the swap, not a real
|
|
@@ -13836,6 +13886,13 @@ declare class MapApi {
|
|
|
13836
13886
|
* Current map mode, or `null` if map is disabled.
|
|
13837
13887
|
*/
|
|
13838
13888
|
getMode(): MapMode | null;
|
|
13889
|
+
/**
|
|
13890
|
+
* The active map size in world units (planar map width). Reflects the value
|
|
13891
|
+
* `enableMap` resolved — explicit option, adaptive-from-data, or default 10.
|
|
13892
|
+
* Hosts use this to build/scale tiles at the same scale as the projected
|
|
13893
|
+
* nodes (keeps tiles and nodes aligned).
|
|
13894
|
+
*/
|
|
13895
|
+
getMapSize(): number;
|
|
13839
13896
|
/**
|
|
13840
13897
|
* Switch the active tile provider.
|
|
13841
13898
|
*
|
|
@@ -14122,6 +14179,8 @@ declare class MapApi {
|
|
|
14122
14179
|
* term. Using the planar formula on the globe oversizes every wedge by 1/cos(lat).
|
|
14123
14180
|
*/
|
|
14124
14181
|
groundKmToWorld(km: number, latitudeDeg: number): number;
|
|
14182
|
+
/** Return the canvas viewport size, falling back to VIEWPORT_H constants when no domElement is attached. */
|
|
14183
|
+
private _viewportSize;
|
|
14125
14184
|
/**
|
|
14126
14185
|
* Convert lat/lng to screen pixel coordinates `{ x, y }` in the canvas.
|
|
14127
14186
|
*
|
|
@@ -15144,6 +15203,13 @@ interface CoverageItem {
|
|
|
15144
15203
|
beamWidthDeg?: number;
|
|
15145
15204
|
/** Inner radius as a fraction of `radius` (annular gap near the tower). Default 0. */
|
|
15146
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";
|
|
15147
15213
|
}
|
|
15148
15214
|
interface CoverageConfig {
|
|
15149
15215
|
items: CoverageItem[];
|
|
@@ -15260,6 +15326,122 @@ declare class PolygonApi {
|
|
|
15260
15326
|
private flush;
|
|
15261
15327
|
}
|
|
15262
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
|
+
|
|
15263
15445
|
/**
|
|
15264
15446
|
* Construction options for {@link RenderEngineApi}.
|
|
15265
15447
|
*/
|
|
@@ -15376,6 +15558,8 @@ declare class RenderEngineApi$1 {
|
|
|
15376
15558
|
readonly coverage: CoverageApi;
|
|
15377
15559
|
/** Convenience sugar over api.layers for filled polygons / GeoJSON regions with geo→world resolution. */
|
|
15378
15560
|
readonly polygon: PolygonApi;
|
|
15561
|
+
/** Node info-card overlays anchored to graph nodes in screen space. */
|
|
15562
|
+
readonly cards: CardsApi;
|
|
15379
15563
|
/** Timeline-driven graph event playback effects. */
|
|
15380
15564
|
readonly playback: PlaybackApi;
|
|
15381
15565
|
/** Viewport chrome controls: minimap, theme, 2D/3D mode, and screenshot. */
|
|
@@ -16178,7 +16362,41 @@ interface MapConfig {
|
|
|
16178
16362
|
*/
|
|
16179
16363
|
geoLayout?: boolean | {
|
|
16180
16364
|
geoMapping?: GeoMappingSpec;
|
|
16181
|
-
|
|
16365
|
+
/**
|
|
16366
|
+
* How to place nodes that lack lat/lng.
|
|
16367
|
+
* - `"autoPlace"` (default): BFS wavefront out from geo anchors, then pin.
|
|
16368
|
+
* - `"preserve"`: leave them where force layout put them.
|
|
16369
|
+
* - `"egoRing"` (planar only): lay them out as a deterministic concentric
|
|
16370
|
+
* **ego ring** around their nearest geo neighbour — a zoom-stable
|
|
16371
|
+
* radial tree by hop distance, rendered in real 3D world space by the
|
|
16372
|
+
* core node cloud (no overlay, VR-safe). The engine mounts the ego-ring
|
|
16373
|
+
* layer internally and derives geo/non-geo + edges from the store, so you
|
|
16374
|
+
* do NOT pass a `<GeoEgoRingLayer>` child. Non-geo are left unpinned for
|
|
16375
|
+
* the ring to own; outside planar mode this falls back to `autoPlace`.
|
|
16376
|
+
*/
|
|
16377
|
+
nonGeoStrategy?: "autoPlace" | "preserve" | "egoRing";
|
|
16378
|
+
/** Ego-ring only (`nonGeoStrategy: "egoRing"`): screen-px spacing between rings. Default 50. */
|
|
16379
|
+
ringGapPx?: number;
|
|
16380
|
+
/** Ego-ring only: zoom level-of-detail. While an anchor is collapsed its
|
|
16381
|
+
* non-geo are HIDDEN (parked on the anchor); zooming in past `expandZoom`
|
|
16382
|
+
* (or hover/click) reveals them as the ring. Omit = always-expanded rings. */
|
|
16383
|
+
collapse?: {
|
|
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";
|
|
16393
|
+
/** Manual expand triggers in addition to zoom. Default: `["hover"]`. */
|
|
16394
|
+
expandOn?: ("hover" | "click")[];
|
|
16395
|
+
/** Ring radius ≤ this × nearest-anchor distance. Default 0.45. */
|
|
16396
|
+
neighbourCap?: number;
|
|
16397
|
+
/** Ring radius ≤ this × viewport height (world). Default 0.25. */
|
|
16398
|
+
maxViewportFraction?: number;
|
|
16399
|
+
};
|
|
16182
16400
|
alphaBump?: number;
|
|
16183
16401
|
autoPlaceJitter?: number;
|
|
16184
16402
|
};
|
|
@@ -18119,6 +18337,215 @@ interface PolygonLayerProps {
|
|
|
18119
18337
|
*/
|
|
18120
18338
|
declare function PolygonLayer({ items }: PolygonLayerProps): null;
|
|
18121
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
|
+
|
|
18384
|
+
interface GeoLocalLayerProps {
|
|
18385
|
+
geoIds: string[];
|
|
18386
|
+
nonGeoIds: string[];
|
|
18387
|
+
edges: ReadonlyArray<{
|
|
18388
|
+
source: string;
|
|
18389
|
+
target: string;
|
|
18390
|
+
}>;
|
|
18391
|
+
linkPx?: number;
|
|
18392
|
+
}
|
|
18393
|
+
/**
|
|
18394
|
+
* Declarative React wrapper for {@link GeoLocalRenderer}.
|
|
18395
|
+
*
|
|
18396
|
+
* On a planar slippy-map, renders non-geo graph nodes in a screen-space
|
|
18397
|
+
* spring simulation anchored to their geo neighbours, keeping them ~`linkPx`
|
|
18398
|
+
* pixels from their nearest geo anchor at any zoom level.
|
|
18399
|
+
*
|
|
18400
|
+
* Only active when `isMapMode && sphereRadius === 0` (planar map).
|
|
18401
|
+
*
|
|
18402
|
+
* **Pin ownership warning:** This layer takes exclusive ownership of pinning
|
|
18403
|
+
* the _connected_ non-geo nodes (those that have a path to a geo anchor).
|
|
18404
|
+
* The host MUST call `applyGeoLayout({ pinAutoPlaced: false })` (or otherwise
|
|
18405
|
+
* avoid pinning these nodes via any other path), because engine pin state is a
|
|
18406
|
+
* single boolean with **no reference counting** — if two subsystems both pin
|
|
18407
|
+
* the same node, whichever one unpins first (e.g. on layer teardown) will
|
|
18408
|
+
* silently clear the other subsystem's pin, leaving the node free when it
|
|
18409
|
+
* should still be held.
|
|
18410
|
+
*
|
|
18411
|
+
* Disconnected non-geo nodes (no path to any geo anchor) are intentionally
|
|
18412
|
+
* left untouched so the world force simulation can place them freely.
|
|
18413
|
+
*
|
|
18414
|
+
* Pins are released automatically on unmount.
|
|
18415
|
+
*/
|
|
18416
|
+
declare function GeoLocalLayer({ geoIds, nonGeoIds, edges, linkPx, }: GeoLocalLayerProps): null;
|
|
18417
|
+
|
|
18418
|
+
interface GeoLocalConfig {
|
|
18419
|
+
geoIds: string[];
|
|
18420
|
+
nonGeoIds: string[];
|
|
18421
|
+
edges: ReadonlyArray<{
|
|
18422
|
+
source: string;
|
|
18423
|
+
target: string;
|
|
18424
|
+
}>;
|
|
18425
|
+
linkPx?: number;
|
|
18426
|
+
}
|
|
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
|
+
|
|
18436
|
+
interface GeoEgoRingLayerProps {
|
|
18437
|
+
geoIds: string[];
|
|
18438
|
+
nonGeoIds: string[];
|
|
18439
|
+
edges: ReadonlyArray<{
|
|
18440
|
+
source: string;
|
|
18441
|
+
target: string;
|
|
18442
|
+
}>;
|
|
18443
|
+
/** Screen-px spacing between rings (ring d targets `d · ringGapPx` on screen). */
|
|
18444
|
+
ringGapPx?: number;
|
|
18445
|
+
/** When set, place/pin only non-geo whose primary anchor is in this set.
|
|
18446
|
+
* Undefined = every anchor expanded (current behaviour). */
|
|
18447
|
+
expandedAnchors?: ReadonlySet<string>;
|
|
18448
|
+
/** Ring radius ≤ neighbourCap × nearest-anchor distance (default 0.45). */
|
|
18449
|
+
neighbourCap?: number;
|
|
18450
|
+
/** Ring radius ≤ maxViewportFraction × viewport height in world units (default 0.25). */
|
|
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;
|
|
18454
|
+
}
|
|
18455
|
+
/**
|
|
18456
|
+
* Declarative React wrapper for {@link GeoEgoRingRenderer}.
|
|
18457
|
+
*
|
|
18458
|
+
* On a planar slippy-map, arranges non-geo graph nodes on a deterministic
|
|
18459
|
+
* concentric **ego ring** around their geo neighbour, in REAL 3D world space.
|
|
18460
|
+
* The nodes are drawn by the existing core node cloud — **this layer renders no
|
|
18461
|
+
* geometry of its own**; it only computes ring world positions and pins the
|
|
18462
|
+
* nodes, recomputing the radius when the zoom crosses a band so the ring stays a
|
|
18463
|
+
* roughly constant screen size at any zoom without per-frame float32 jitter.
|
|
18464
|
+
*
|
|
18465
|
+
* Because the non-geo nodes live in the one core cloud, their edges, picking,
|
|
18466
|
+
* styling and VR rendering all work unchanged (no overlay, no second layer).
|
|
18467
|
+
*
|
|
18468
|
+
* Only active when `isMapMode && sphereRadius === 0` (planar map).
|
|
18469
|
+
*
|
|
18470
|
+
* **Pin ownership warning:** takes exclusive ownership of pinning the connected
|
|
18471
|
+
* non-geo nodes; the host MUST call `applyGeoLayout({ pinAutoPlaced: false })`
|
|
18472
|
+
* so two subsystems don't fight over the single (un-refcounted) pin flag.
|
|
18473
|
+
* Disconnected non-geo (no path to any geo anchor) are left to the world force
|
|
18474
|
+
* simulation. Pins are released on unmount.
|
|
18475
|
+
*/
|
|
18476
|
+
declare function GeoEgoRingLayer({ geoIds, nonGeoIds, edges, ringGapPx, expandedAnchors, neighbourCap, maxViewportFraction, onFitMetrics, }: GeoEgoRingLayerProps): null;
|
|
18477
|
+
|
|
18478
|
+
interface GeoEgoRingConfig {
|
|
18479
|
+
geoIds: string[];
|
|
18480
|
+
nonGeoIds: string[];
|
|
18481
|
+
edges: ReadonlyArray<{
|
|
18482
|
+
source: string;
|
|
18483
|
+
target: string;
|
|
18484
|
+
}>;
|
|
18485
|
+
/** Screen-px spacing between rings (ring d targets `d · ringGapPx` on screen). */
|
|
18486
|
+
ringGapPx?: number;
|
|
18487
|
+
/** When set, place/pin only non-geo whose primary anchor is in this set.
|
|
18488
|
+
* Undefined = all anchors expanded (current behaviour). */
|
|
18489
|
+
expandedAnchors?: ReadonlySet<string>;
|
|
18490
|
+
/** ring radius ≤ neighbourCap × nearest-anchor distance (default 0.45). */
|
|
18491
|
+
neighbourCap?: number;
|
|
18492
|
+
/** ring radius ≤ maxViewportFraction × viewport height in world units (default 0.25). */
|
|
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;
|
|
18502
|
+
}
|
|
18503
|
+
|
|
18504
|
+
interface AnchorEntry {
|
|
18505
|
+
id: string;
|
|
18506
|
+
depth: number;
|
|
18507
|
+
parents: string[];
|
|
18508
|
+
}
|
|
18509
|
+
interface AnchorForest {
|
|
18510
|
+
entries: AnchorEntry[];
|
|
18511
|
+
order: string[];
|
|
18512
|
+
disconnected: string[];
|
|
18513
|
+
}
|
|
18514
|
+
|
|
18515
|
+
/**
|
|
18516
|
+
* A non-geo node's placement on its geo anchor's ego ring. The direction
|
|
18517
|
+
* `(dx, dy)` is a UNIT vector (zoom-independent); `depth` selects the ring.
|
|
18518
|
+
* The renderer scales the direction by a per-zoom-level world radius so the
|
|
18519
|
+
* ring stays a roughly constant screen size — see {@link GeoEgoRingRenderer}.
|
|
18520
|
+
*/
|
|
18521
|
+
interface EgoRingNode {
|
|
18522
|
+
id: string;
|
|
18523
|
+
/** The geo node at the centre of this ring. */
|
|
18524
|
+
anchorId: string;
|
|
18525
|
+
/** Hop distance from the geo anchor (1 = inner ring, 2 = next ring out, …). */
|
|
18526
|
+
depth: number;
|
|
18527
|
+
/** Unit ring direction. */
|
|
18528
|
+
dx: number;
|
|
18529
|
+
dy: number;
|
|
18530
|
+
}
|
|
18531
|
+
/**
|
|
18532
|
+
* Deterministic **radial-tree ego layout** (pure computation — no force
|
|
18533
|
+
* simulation, so no settling and no jitter; same input ⇒ same output).
|
|
18534
|
+
*
|
|
18535
|
+
* Each geo anchor is the centre of a radial tree of its non-geo descendants:
|
|
18536
|
+
* hop distance = ring (radius ∝ depth), and the full circle is divided among
|
|
18537
|
+
* the anchor's subtrees **in proportion to each subtree's leaf count** (the d3
|
|
18538
|
+
* radial-cluster rule). A bushy subtree therefore gets a wide angular wedge and
|
|
18539
|
+
* a thin chain gets a narrow one, so deep/uneven trees spread out cleanly
|
|
18540
|
+
* instead of collapsing into overlapping spokes (the failure of equal-wedge
|
|
18541
|
+
* splitting). A node sits at the angular midpoint of its own wedge, centred
|
|
18542
|
+
* above its children — true hierarchical / ego topology; sibling subtrees never cross.
|
|
18543
|
+
*
|
|
18544
|
+
* Angles are **zoom-independent**; the renderer multiplies each `(dx,dy)` by a
|
|
18545
|
+
* world radius chosen per zoom level, which keeps the ring visible at any zoom.
|
|
18546
|
+
*/
|
|
18547
|
+
declare function computeEgoRing(forest: AnchorForest): EgoRingNode[];
|
|
18548
|
+
|
|
18122
18549
|
interface PitchToggleButtonProps {
|
|
18123
18550
|
/** Portal target — must be the GraphCanvas container or another positioned ancestor. */
|
|
18124
18551
|
container: HTMLElement;
|
|
@@ -19357,4 +19784,4 @@ declare function createDefaultRegistry(): ToolRegistry$1;
|
|
|
19357
19784
|
|
|
19358
19785
|
declare function useToolbarState(initialState?: Partial<ToolbarState>): Required<ToolbarControlledProps>;
|
|
19359
19786
|
|
|
19360
|
-
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 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 GeoJsonPolygonish, 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, 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 };
|