@kineviz/gl 0.5.0 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.d.mts +702 -20
- package/dist/index.d.ts +702 -20
- package/dist/index.js +107 -93
- package/dist/index.mjs +106 -92
- package/dist/kineviz-gl.css +1 -1
- package/dist/kineviz-gl.umd.js +254 -240
- package/dist/schemas.js +1 -1
- package/dist/schemas.mjs +1 -1
- package/package.json +11 -3
package/dist/index.d.mts
CHANGED
|
@@ -2851,6 +2851,18 @@ declare class GPUNodeRenderer {
|
|
|
2851
2851
|
* Initialize the renderer - create geometry, material, and mesh
|
|
2852
2852
|
*/
|
|
2853
2853
|
init(): void;
|
|
2854
|
+
/**
|
|
2855
|
+
* Grow the hover-dim shadow arrays to cover `count` nodes. They are sized at
|
|
2856
|
+
* geometry-build time, but nodes can be ADDED between rebuilds — e.g. a data
|
|
2857
|
+
* load while the map is on, which then PINS the new nodes → a nodeFlags
|
|
2858
|
+
* rewrite. The flag packing reads `hoverDimStarts[i] * 32`; if the array is
|
|
2859
|
+
* stale (shorter than the current node count), `starts[i]` is `undefined`, so
|
|
2860
|
+
* `undefined * 32 = NaN` poisons nodeFlags for the new nodes — and the vertex
|
|
2861
|
+
* shader (which does `mod(nodeFlags, …)` throughout) then paints zero
|
|
2862
|
+
* fragments, so those nodes vanish even though they're correctly positioned.
|
|
2863
|
+
* New slots default to 0 ("never animated"), which is the correct value.
|
|
2864
|
+
*/
|
|
2865
|
+
private ensureHoverArrays;
|
|
2854
2866
|
/**
|
|
2855
2867
|
* Create instanced buffer geometry with all required attributes.
|
|
2856
2868
|
* Allocates at CAPACITY (not count) so deletion doesn't need geometry rebuild.
|
|
@@ -10124,6 +10136,146 @@ declare class FilterApi {
|
|
|
10124
10136
|
filterByNeighborhood(_nodeId: string, _depth?: number): never;
|
|
10125
10137
|
}
|
|
10126
10138
|
|
|
10139
|
+
/** Whether the timeline bins nodes or edges. */
|
|
10140
|
+
type TimelineTarget = "node" | "edge";
|
|
10141
|
+
/**
|
|
10142
|
+
* How a bar's height is computed.
|
|
10143
|
+
*
|
|
10144
|
+
* v1 ships `count` only (number of elements per bucket). Numeric aggregates
|
|
10145
|
+
* (`sum` / `avg` / `max` of a property) are a deliberate phase-2 extension —
|
|
10146
|
+
* see the design spec's "Out of scope" section.
|
|
10147
|
+
*/
|
|
10148
|
+
type TimelineMeasure = {
|
|
10149
|
+
kind: "count";
|
|
10150
|
+
};
|
|
10151
|
+
/**
|
|
10152
|
+
* Fully describes how to project graph elements onto the time axis.
|
|
10153
|
+
*
|
|
10154
|
+
* Because graph data has many node categories and many properties, binning is
|
|
10155
|
+
* not implicit — the caller must say which element kind, which date property,
|
|
10156
|
+
* and at what granularity.
|
|
10157
|
+
*/
|
|
10158
|
+
interface BinningSource {
|
|
10159
|
+
/** Bin nodes or edges. Time most often lives on edges (relationships/events). */
|
|
10160
|
+
target: TimelineTarget;
|
|
10161
|
+
/**
|
|
10162
|
+
* Restrict to these categories (when `target === "node"`) or relationship
|
|
10163
|
+
* types (when `target === "edge"`). Empty / undefined = all.
|
|
10164
|
+
*/
|
|
10165
|
+
categories?: string[];
|
|
10166
|
+
/** Property key in `element.properties` holding the date/datetime value. */
|
|
10167
|
+
property: string;
|
|
10168
|
+
/** Bucket width. */
|
|
10169
|
+
granularity: DateGranularity;
|
|
10170
|
+
/** Height measure. Defaults to `{ kind: "count" }`. */
|
|
10171
|
+
measure?: TimelineMeasure;
|
|
10172
|
+
}
|
|
10173
|
+
/** One time bucket. Timestamps are milliseconds since the Unix epoch. */
|
|
10174
|
+
interface Bin {
|
|
10175
|
+
/** Bucket start (inclusive). */
|
|
10176
|
+
start: number;
|
|
10177
|
+
/** Bucket end (exclusive) = `nextGranularity(start)`. */
|
|
10178
|
+
end: number;
|
|
10179
|
+
/** Aggregate value for the bucket (count in v1). */
|
|
10180
|
+
count: number;
|
|
10181
|
+
/** Pre-formatted label for axis ticks / tooltips. */
|
|
10182
|
+
label: string;
|
|
10183
|
+
}
|
|
10184
|
+
|
|
10185
|
+
/** A pinned point-in-time marker (the gold flags). */
|
|
10186
|
+
interface TimelineAnnotation {
|
|
10187
|
+
id: string;
|
|
10188
|
+
/** Timestamp in ms. */
|
|
10189
|
+
t: number;
|
|
10190
|
+
label?: string;
|
|
10191
|
+
/** CSS color; defaults to the gold flag color in the UI. */
|
|
10192
|
+
color?: string;
|
|
10193
|
+
}
|
|
10194
|
+
/** Options forwarded to the underlying filter playback. */
|
|
10195
|
+
interface TimelinePlayOptions {
|
|
10196
|
+
/** Window size in granularity units (default 1). */
|
|
10197
|
+
windowSize?: number;
|
|
10198
|
+
/** Units advanced per frame (default 1). */
|
|
10199
|
+
step?: number;
|
|
10200
|
+
/** Total playback duration in ms. */
|
|
10201
|
+
durationMs?: number;
|
|
10202
|
+
/** Loop at the end. */
|
|
10203
|
+
loop?: boolean;
|
|
10204
|
+
/** Window behaviour: slide (default), expand, or shrink. */
|
|
10205
|
+
mode?: "slide" | "expand" | "shrink";
|
|
10206
|
+
}
|
|
10207
|
+
/**
|
|
10208
|
+
* Timeline (Time Bar) state + bridge.
|
|
10209
|
+
*
|
|
10210
|
+
* Owns the timeline's configuration (binning source), the brushed range, the
|
|
10211
|
+
* point cursor, and annotations. It is the *visualization front-end* over the
|
|
10212
|
+
* existing date-range filter and playback — it never reaches into the private
|
|
10213
|
+
* {@link GraphFilterManager}:
|
|
10214
|
+
*
|
|
10215
|
+
* - `setRange` creates / updates a `dateRange` {@link FilterHandle} (edge or
|
|
10216
|
+
* node sugar), so brushing a window filters the graph.
|
|
10217
|
+
* - `play` / `pause` / `stop` delegate to `api.filter.playback`.
|
|
10218
|
+
* - bins come from the pure {@link computeTimeBins} over the live store.
|
|
10219
|
+
*
|
|
10220
|
+
* The React `<Timeline>` component renders this; headless callers (and Agent
|
|
10221
|
+
* 2.0) can drive the same state programmatically.
|
|
10222
|
+
*/
|
|
10223
|
+
declare class TimelineApi {
|
|
10224
|
+
private readonly store;
|
|
10225
|
+
private readonly filter;
|
|
10226
|
+
private source;
|
|
10227
|
+
private range;
|
|
10228
|
+
private cursor;
|
|
10229
|
+
private handle;
|
|
10230
|
+
private playTimer;
|
|
10231
|
+
private readonly annotations;
|
|
10232
|
+
private nextAnnId;
|
|
10233
|
+
private readonly rangeSubs;
|
|
10234
|
+
private readonly cursorSubs;
|
|
10235
|
+
constructor(store: GraphStore, filter: FilterApi);
|
|
10236
|
+
/** Set the binning source. Drops any active range filter (it may now target a different kind/property). */
|
|
10237
|
+
setSource(source: BinningSource): void;
|
|
10238
|
+
getSource(): BinningSource | null;
|
|
10239
|
+
/**
|
|
10240
|
+
* Pick a binning source automatically: prefer edges (time usually lives on
|
|
10241
|
+
* relationships), choosing the first property whose values parse as dates.
|
|
10242
|
+
* Returns and stores the detected source, or null when none is found.
|
|
10243
|
+
*/
|
|
10244
|
+
autoDetectSource(): BinningSource | null;
|
|
10245
|
+
getBins(): Bin[];
|
|
10246
|
+
getDomain(): [number, number] | null;
|
|
10247
|
+
/** Set (or clear, with null) the brushed time window. */
|
|
10248
|
+
setRange(range: [number, number] | null): void;
|
|
10249
|
+
getRange(): [number, number] | null;
|
|
10250
|
+
onRangeChange(cb: (r: [number, number] | null) => void): () => void;
|
|
10251
|
+
setCursor(t: number | null): void;
|
|
10252
|
+
getCursor(): number | null;
|
|
10253
|
+
onCursorChange(cb: (t: number | null) => void): () => void;
|
|
10254
|
+
/**
|
|
10255
|
+
* Animate the brushed window across the domain. Preserves the user's adjusted
|
|
10256
|
+
* window — both its WIDTH and its starting position — sliding it forward and
|
|
10257
|
+
* filtering the graph + moving the band at each step. Loops back to the domain
|
|
10258
|
+
* start when `loop` is set; otherwise stops at the end.
|
|
10259
|
+
*
|
|
10260
|
+
* Self-driven rather than delegated to the filter manager's playback, whose
|
|
10261
|
+
* windows always restart from the domain start at a fixed granularity width —
|
|
10262
|
+
* which would discard the user's adjusted range.
|
|
10263
|
+
*/
|
|
10264
|
+
play(opts?: TimelinePlayOptions): void;
|
|
10265
|
+
/** Pause playback, keeping the current window position (call `play` again to resume). */
|
|
10266
|
+
pause(): void;
|
|
10267
|
+
/** Stop playback, keeping the current window (use `setRange(null)` to clear it). */
|
|
10268
|
+
stop(): void;
|
|
10269
|
+
private stopTimer;
|
|
10270
|
+
addAnnotation(a: {
|
|
10271
|
+
t: number;
|
|
10272
|
+
label?: string;
|
|
10273
|
+
color?: string;
|
|
10274
|
+
}): string;
|
|
10275
|
+
removeAnnotation(id: string): void;
|
|
10276
|
+
getAnnotations(): TimelineAnnotation[];
|
|
10277
|
+
}
|
|
10278
|
+
|
|
10127
10279
|
/**
|
|
10128
10280
|
* EffectManager — Orchestrates persistent shader-driven visual effects.
|
|
10129
10281
|
*
|
|
@@ -13284,11 +13436,14 @@ interface ApplyGeoLayoutOptions {
|
|
|
13284
13436
|
mapSize?: number;
|
|
13285
13437
|
/**
|
|
13286
13438
|
* How to place nodes that lack a valid lat/lng.
|
|
13287
|
-
* - `'autoPlace'` (default):
|
|
13288
|
-
*
|
|
13289
|
-
*
|
|
13290
|
-
*
|
|
13291
|
-
*
|
|
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.
|
|
13292
13447
|
* - `'preserve'`: leave non-geo positions where they were; rely solely on
|
|
13293
13448
|
* force layout to pull them in over time.
|
|
13294
13449
|
*
|
|
@@ -13297,6 +13452,30 @@ interface ApplyGeoLayoutOptions {
|
|
|
13297
13452
|
* below the map in 3D camera views.
|
|
13298
13453
|
*/
|
|
13299
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;
|
|
13300
13479
|
/**
|
|
13301
13480
|
* Simulation alpha to set after applying positions, to drive remaining
|
|
13302
13481
|
* convergence (e.g. for non-geo nodes that still need to settle). Set to
|
|
@@ -13316,8 +13495,17 @@ interface ApplyGeoLayoutOptions {
|
|
|
13316
13495
|
interface ApplyGeoLayoutResult {
|
|
13317
13496
|
/** IDs of nodes that were positioned + pinned. */
|
|
13318
13497
|
geoNodeIds: string[];
|
|
13319
|
-
/** IDs of nodes
|
|
13498
|
+
/** IDs of nodes that lacked a valid lat/lng. */
|
|
13320
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[];
|
|
13321
13509
|
/** The lat/lng property names that were used, or `null` if none matched. */
|
|
13322
13510
|
resolvedMapping: {
|
|
13323
13511
|
lat: string;
|
|
@@ -13456,6 +13644,7 @@ declare class MapApi {
|
|
|
13456
13644
|
private _cloudScene;
|
|
13457
13645
|
private _camera;
|
|
13458
13646
|
private _globeControl;
|
|
13647
|
+
private _layoutController;
|
|
13459
13648
|
private _mapSize;
|
|
13460
13649
|
private _globeRadius;
|
|
13461
13650
|
private _cameraZ;
|
|
@@ -13527,6 +13716,21 @@ declare class MapApi {
|
|
|
13527
13716
|
* @internal
|
|
13528
13717
|
*/
|
|
13529
13718
|
wireInteraction(interaction: InteractionManager | null): void;
|
|
13719
|
+
/**
|
|
13720
|
+
* Late-bind the live force-layout controller (the GPU/WebGPU adapter).
|
|
13721
|
+
* Forwarded from `RenderEngineApi.wireLayoutController()`. Used by
|
|
13722
|
+
* `_reheatLayout()` to restart the sim on Hide Map via a handle that is
|
|
13723
|
+
* stable across positionProvider swaps. Pass null on unmount.
|
|
13724
|
+
*
|
|
13725
|
+
* @internal
|
|
13726
|
+
*/
|
|
13727
|
+
wireLayoutController(lc: {
|
|
13728
|
+
c?: {
|
|
13729
|
+
_enable?: boolean;
|
|
13730
|
+
};
|
|
13731
|
+
restart?: () => void;
|
|
13732
|
+
start?: () => void;
|
|
13733
|
+
} | null): void;
|
|
13530
13734
|
/**
|
|
13531
13735
|
* Late-bind scene objects required for view control methods.
|
|
13532
13736
|
* Called from GraphContext after the scene is constructed.
|
|
@@ -13603,6 +13807,20 @@ declare class MapApi {
|
|
|
13603
13807
|
* Phase 1: records state and emits event. Scene wiring is Phase 2/3.
|
|
13604
13808
|
*/
|
|
13605
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;
|
|
13606
13824
|
/**
|
|
13607
13825
|
* Arm a 2D↔3D layer swap (FlatLayer↔GlobeLayer): the `disableMap()` fired
|
|
13608
13826
|
* by the OUTGOING layer's unmount cleanup is part of the swap, not a real
|
|
@@ -13646,9 +13864,18 @@ declare class MapApi {
|
|
|
13646
13864
|
* place), NOT `startLayout()`: startLayout does a full dispose+buildSimulation
|
|
13647
13865
|
* that re-seeds pin state from the stale `graph.layoutNodes[].pinned` mirror
|
|
13648
13866
|
* (which is never set for geo), which would UNPIN geo and break the map
|
|
13649
|
-
* projection.
|
|
13650
|
-
*
|
|
13651
|
-
*
|
|
13867
|
+
* projection.
|
|
13868
|
+
*
|
|
13869
|
+
* Controller lookup order:
|
|
13870
|
+
* 1. The wired layout controller (`wireLayoutController`) — the STABLE
|
|
13871
|
+
* handle. This is required: Show Map's stopLayout() swaps
|
|
13872
|
+
* `store.positionProvider` to a frozen StaticPositionProvider that has no
|
|
13873
|
+
* `layoutController`, so the provider path below finds nothing after a
|
|
13874
|
+
* map show/hide cycle (the "Hide Map → force layout dead, even in a new
|
|
13875
|
+
* view" bug — the controller is a cross-view singleton).
|
|
13876
|
+
* 2. `store.positionProvider.layoutController` — for configs where the live
|
|
13877
|
+
* provider still carries the controller (e.g. no stop-driven swap).
|
|
13878
|
+
* 3. The legacy `_layoutRuntime` sim handle — d3 engine fallback.
|
|
13652
13879
|
*/
|
|
13653
13880
|
private _reheatLayout;
|
|
13654
13881
|
/**
|
|
@@ -13659,6 +13886,13 @@ declare class MapApi {
|
|
|
13659
13886
|
* Current map mode, or `null` if map is disabled.
|
|
13660
13887
|
*/
|
|
13661
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;
|
|
13662
13896
|
/**
|
|
13663
13897
|
* Switch the active tile provider.
|
|
13664
13898
|
*
|
|
@@ -13684,17 +13918,26 @@ declare class MapApi {
|
|
|
13684
13918
|
* pxPerUnit = VIEWPORT_H / (2 * tan(halfFov) * viewDist)
|
|
13685
13919
|
* level = log2(mapSize * pxPerUnit / TARGET_TILE_PX)
|
|
13686
13920
|
*
|
|
13687
|
-
*
|
|
13688
|
-
* viewDist is
|
|
13921
|
+
* Spherical: the globe circumference (2πr) takes the role of mapSize, and
|
|
13922
|
+
* `viewDist` is the camera-to-SURFACE distance (= cameraZ - sceneZ - globeRadius),
|
|
13923
|
+
* NOT camera-to-centre. Treating it as centre-distance is what let high zoom
|
|
13924
|
+
* push the globe centre past the camera (sceneZ → cameraZ) so the camera ended
|
|
13925
|
+
* up INSIDE the globe — the whole view filling with the atmosphere shell.
|
|
13926
|
+
* Subtracting globeRadius keeps "zoom" meaning "altitude above the surface",
|
|
13927
|
+
* consistent with GlobeControl's wheel zoom (distToSurface) and never inside.
|
|
13689
13928
|
*/
|
|
13690
13929
|
private _computeZoomLevel;
|
|
13691
13930
|
/**
|
|
13692
13931
|
* Compute the cloudScene.position.z that yields a given tile zoom level.
|
|
13693
13932
|
*
|
|
13694
13933
|
* Inversion of _computeZoomLevel:
|
|
13695
|
-
* pxPerUnit = 2^level * TARGET_TILE_PX /
|
|
13934
|
+
* pxPerUnit = 2^level * TARGET_TILE_PX / size
|
|
13696
13935
|
* viewDist = VIEWPORT_H / (2 * tan(halfFov) * pxPerUnit)
|
|
13697
|
-
* sceneZ = cameraZ - viewDist
|
|
13936
|
+
* sceneZ = cameraZ - viewDist (planar)
|
|
13937
|
+
* sceneZ = cameraZ - viewDist - globeRadius (spherical: viewDist is the
|
|
13938
|
+
* distance to the globe SURFACE, so the centre sits one radius
|
|
13939
|
+
* further; this is what keeps the camera outside the globe and
|
|
13940
|
+
* makes city-level zoom reachable instead of blanking to blue.)
|
|
13698
13941
|
*/
|
|
13699
13942
|
private _zoomLevelToSceneZ;
|
|
13700
13943
|
/**
|
|
@@ -13922,12 +14165,22 @@ declare class MapApi {
|
|
|
13922
14165
|
worldToLatLng(x: number, y: number, z: number, mode?: MapMode): GeoPosition | null;
|
|
13923
14166
|
/**
|
|
13924
14167
|
* Convert a true ground distance (km) at a given latitude into world/scene
|
|
13925
|
-
* units, matching how node positions are placed
|
|
13926
|
-
*
|
|
13927
|
-
*
|
|
13928
|
-
*
|
|
14168
|
+
* units, matching how node positions are placed.
|
|
14169
|
+
*
|
|
14170
|
+
* PLANAR: node positions are Mercator meters × mapScale. Web Mercator inflates
|
|
14171
|
+
* ground distance by 1/cos(lat); we divide by cos(lat) so a circle of this
|
|
14172
|
+
* radius covers the correct ground area on the basemap. With no map active,
|
|
14173
|
+
* mapScale is the default-provider scale (1).
|
|
14174
|
+
*
|
|
14175
|
+
* SPHERICAL: the globe is a true sphere, so a coverage wedge drapes on the
|
|
14176
|
+
* tangent plane with NO Mercator inflation — the conversion is plain arc
|
|
14177
|
+
* length. `globeRadius` scene units span EARTH_RADIUS meters around the globe,
|
|
14178
|
+
* so world-units-per-meter = globeRadius / EARTH_RADIUS and there is no cos(lat)
|
|
14179
|
+
* term. Using the planar formula on the globe oversizes every wedge by 1/cos(lat).
|
|
13929
14180
|
*/
|
|
13930
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;
|
|
13931
14184
|
/**
|
|
13932
14185
|
* Convert lat/lng to screen pixel coordinates `{ x, y }` in the canvas.
|
|
13933
14186
|
*
|
|
@@ -14944,6 +15197,12 @@ interface CoverageItem {
|
|
|
14944
15197
|
speed?: number;
|
|
14945
15198
|
rings?: number;
|
|
14946
15199
|
};
|
|
15200
|
+
/** Sector centre bearing, degrees clockwise from north. Default 0. */
|
|
15201
|
+
azimuthDeg?: number;
|
|
15202
|
+
/** Wedge angular width in degrees. Default 360 → full disc (back-compat). */
|
|
15203
|
+
beamWidthDeg?: number;
|
|
15204
|
+
/** Inner radius as a fraction of `radius` (annular gap near the tower). Default 0. */
|
|
15205
|
+
innerRadius?: number;
|
|
14947
15206
|
}
|
|
14948
15207
|
interface CoverageConfig {
|
|
14949
15208
|
items: CoverageItem[];
|
|
@@ -14961,6 +15220,12 @@ interface CoverageSpec extends Omit<CoverageItem, "radius"> {
|
|
|
14961
15220
|
radiusKm?: number;
|
|
14962
15221
|
/** Latitude for Mercator correction when radiusKm is used; defaults to 0. */
|
|
14963
15222
|
latitude?: number;
|
|
15223
|
+
/**
|
|
15224
|
+
* Map key for dedup/replace; defaults to `anchorNodeId`. Provide a distinct key
|
|
15225
|
+
* to keep **multiple wedges that share one `anchorNodeId`** (e.g. the 3 sectors
|
|
15226
|
+
* of one base station, all selecting together when that node is clicked).
|
|
15227
|
+
*/
|
|
15228
|
+
key?: string;
|
|
14964
15229
|
}
|
|
14965
15230
|
/**
|
|
14966
15231
|
* Convenience sugar over `api.layers` for domain-agnostic coverage discs.
|
|
@@ -14984,6 +15249,76 @@ declare class CoverageApi {
|
|
|
14984
15249
|
private flush;
|
|
14985
15250
|
}
|
|
14986
15251
|
|
|
15252
|
+
/** GeoJSON position `[lng, lat]` (the GeoJSON axis order). */
|
|
15253
|
+
type LngLat = [number, number];
|
|
15254
|
+
type GeoJsonPolygon = {
|
|
15255
|
+
type: "Polygon";
|
|
15256
|
+
coordinates: LngLat[][];
|
|
15257
|
+
};
|
|
15258
|
+
type GeoJsonMultiPolygon = {
|
|
15259
|
+
type: "MultiPolygon";
|
|
15260
|
+
coordinates: LngLat[][][];
|
|
15261
|
+
};
|
|
15262
|
+
type GeoJsonFeature = {
|
|
15263
|
+
type: "Feature";
|
|
15264
|
+
geometry: GeoJsonPolygon | GeoJsonMultiPolygon;
|
|
15265
|
+
};
|
|
15266
|
+
/** Accepted GeoJSON inputs: a Polygon/MultiPolygon geometry or a Feature wrapping one. */
|
|
15267
|
+
type GeoJsonPolygonish = GeoJsonPolygon | GeoJsonMultiPolygon | GeoJsonFeature;
|
|
15268
|
+
/**
|
|
15269
|
+
* A polygon to draw. Supply ONE coordinate source:
|
|
15270
|
+
* - `geojson` — GeoJSON Polygon/MultiPolygon/Feature, coords `[lng, lat]`.
|
|
15271
|
+
* - `latLngRings` — rings of `[lat, lng]` (outer first, then holes).
|
|
15272
|
+
* - `worldRings` — rings already in world coords `[x, y, z]` (skips projection).
|
|
15273
|
+
* Geographic inputs are projected via the injected `latLngToWorld`, so enable
|
|
15274
|
+
* the map (or place geo nodes) before calling — same precondition as positioning
|
|
15275
|
+
* geo nodes by lat/lng.
|
|
15276
|
+
*/
|
|
15277
|
+
interface PolygonSpec {
|
|
15278
|
+
/** Stable key for dedup/replace; defaults to a running index. */
|
|
15279
|
+
id?: string;
|
|
15280
|
+
geojson?: GeoJsonPolygonish;
|
|
15281
|
+
latLngRings?: Array<Array<[number, number]>>;
|
|
15282
|
+
worldRings?: Array<Array<[number, number, number]>>;
|
|
15283
|
+
/** Interior fill RGB 0..1. */
|
|
15284
|
+
fillColor: [number, number, number];
|
|
15285
|
+
/** Fill opacity 0..1. Default 0.4. */
|
|
15286
|
+
fillOpacity?: number;
|
|
15287
|
+
/** Outline RGB 0..1. Defaults to fillColor. */
|
|
15288
|
+
outlineColor?: [number, number, number];
|
|
15289
|
+
/** Outline opacity 0..1. Default 0.9. */
|
|
15290
|
+
outlineOpacity?: number;
|
|
15291
|
+
/** Draw the outline. Default true. */
|
|
15292
|
+
outline?: boolean;
|
|
15293
|
+
/** Render band: "overlay" (over nodes, default) or "underlay" (ground highlight under nodes). */
|
|
15294
|
+
band?: "underlay" | "overlay";
|
|
15295
|
+
}
|
|
15296
|
+
/**
|
|
15297
|
+
* Convenience sugar over `api.layers` for filled polygons / GeoJSON regions.
|
|
15298
|
+
* Resolves geographic coordinates (GeoJSON `[lng,lat]` or `[lat,lng]` rings) to
|
|
15299
|
+
* world space via the injected `latLngToWorld`, keys items for dedup/replace,
|
|
15300
|
+
* and drives the "polygon" layer. The geometric twin of `api.coverage`.
|
|
15301
|
+
*/
|
|
15302
|
+
declare class PolygonApi {
|
|
15303
|
+
private layers;
|
|
15304
|
+
private latLngToWorld;
|
|
15305
|
+
private items;
|
|
15306
|
+
constructor(layers: LayersApi, latLngToWorld: (lat: number, lng: number) => {
|
|
15307
|
+
x: number;
|
|
15308
|
+
y: number;
|
|
15309
|
+
z: number;
|
|
15310
|
+
});
|
|
15311
|
+
private toWorldRing;
|
|
15312
|
+
/** Resolve a spec to one-or-more world-space PolygonItems (MultiPolygon → many). */
|
|
15313
|
+
private resolve;
|
|
15314
|
+
/** Set (or replace) one polygon by id, or a batch. */
|
|
15315
|
+
set(id: string, spec: Omit<PolygonSpec, "id">): void;
|
|
15316
|
+
set(specs: PolygonSpec[]): void;
|
|
15317
|
+
/** Remove one polygon by id, or clear all. */
|
|
15318
|
+
clear(id?: string): void;
|
|
15319
|
+
private flush;
|
|
15320
|
+
}
|
|
15321
|
+
|
|
14987
15322
|
/**
|
|
14988
15323
|
* Construction options for {@link RenderEngineApi}.
|
|
14989
15324
|
*/
|
|
@@ -15076,6 +15411,8 @@ declare class RenderEngineApi$1 {
|
|
|
15076
15411
|
readonly transform: TransformApi;
|
|
15077
15412
|
/** Add, update, and remove graph visibility filters. */
|
|
15078
15413
|
readonly filter: FilterApi;
|
|
15414
|
+
/** Temporal activity histogram ("Time Bar"): bin elements by date, brush a window, play. */
|
|
15415
|
+
readonly timeline: TimelineApi;
|
|
15079
15416
|
/** Centrality, community detection, shortest-path, and graph metrics algorithms. */
|
|
15080
15417
|
readonly algorithms: AlgorithmApi;
|
|
15081
15418
|
/** Subscribe to typed {@link EventMap} events emitted by all subsystems. */
|
|
@@ -15096,6 +15433,8 @@ declare class RenderEngineApi$1 {
|
|
|
15096
15433
|
readonly layers: LayersApi;
|
|
15097
15434
|
/** Convenience sugar over api.layers for domain-agnostic coverage discs with km→world resolution. */
|
|
15098
15435
|
readonly coverage: CoverageApi;
|
|
15436
|
+
/** Convenience sugar over api.layers for filled polygons / GeoJSON regions with geo→world resolution. */
|
|
15437
|
+
readonly polygon: PolygonApi;
|
|
15099
15438
|
/** Timeline-driven graph event playback effects. */
|
|
15100
15439
|
readonly playback: PlaybackApi;
|
|
15101
15440
|
/** Viewport chrome controls: minimap, theme, 2D/3D mode, and screenshot. */
|
|
@@ -15898,7 +16237,35 @@ interface MapConfig {
|
|
|
15898
16237
|
*/
|
|
15899
16238
|
geoLayout?: boolean | {
|
|
15900
16239
|
geoMapping?: GeoMappingSpec;
|
|
15901
|
-
|
|
16240
|
+
/**
|
|
16241
|
+
* How to place nodes that lack lat/lng.
|
|
16242
|
+
* - `"autoPlace"` (default): BFS wavefront out from geo anchors, then pin.
|
|
16243
|
+
* - `"preserve"`: leave them where force layout put them.
|
|
16244
|
+
* - `"egoRing"` (planar only): lay them out as a deterministic concentric
|
|
16245
|
+
* **ego ring** around their nearest geo neighbour — a zoom-stable
|
|
16246
|
+
* radial tree by hop distance, rendered in real 3D world space by the
|
|
16247
|
+
* core node cloud (no overlay, VR-safe). The engine mounts the ego-ring
|
|
16248
|
+
* layer internally and derives geo/non-geo + edges from the store, so you
|
|
16249
|
+
* do NOT pass a `<GeoEgoRingLayer>` child. Non-geo are left unpinned for
|
|
16250
|
+
* the ring to own; outside planar mode this falls back to `autoPlace`.
|
|
16251
|
+
*/
|
|
16252
|
+
nonGeoStrategy?: "autoPlace" | "preserve" | "egoRing";
|
|
16253
|
+
/** Ego-ring only (`nonGeoStrategy: "egoRing"`): screen-px spacing between rings. Default 50. */
|
|
16254
|
+
ringGapPx?: number;
|
|
16255
|
+
/** Ego-ring only: zoom level-of-detail. While an anchor is collapsed its
|
|
16256
|
+
* non-geo are HIDDEN (parked on the anchor); zooming in past `expandZoom`
|
|
16257
|
+
* (or hover/click) reveals them as the ring. Omit = always-expanded rings. */
|
|
16258
|
+
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";
|
|
16262
|
+
/** Manual expand triggers in addition to zoom. Default: `["hover"]`. */
|
|
16263
|
+
expandOn?: ("hover" | "click")[];
|
|
16264
|
+
/** Ring radius ≤ this × nearest-anchor distance. Default 0.45. */
|
|
16265
|
+
neighbourCap?: number;
|
|
16266
|
+
/** Ring radius ≤ this × viewport height (world). Default 0.25. */
|
|
16267
|
+
maxViewportFraction?: number;
|
|
16268
|
+
};
|
|
15902
16269
|
alphaBump?: number;
|
|
15903
16270
|
autoPlaceJitter?: number;
|
|
15904
16271
|
};
|
|
@@ -17630,6 +17997,83 @@ interface MinimapLayerProps {
|
|
|
17630
17997
|
}
|
|
17631
17998
|
declare function MinimapLayer({ width, height, position, margin, defaultVisible, positionProvider: positionProviderProp, }: MinimapLayerProps): react_jsx_runtime.JSX.Element;
|
|
17632
17999
|
|
|
18000
|
+
interface TimelineProps {
|
|
18001
|
+
/** The render engine API. Drives `api.timeline`. */
|
|
18002
|
+
api: RenderEngineApi$1;
|
|
18003
|
+
/** UI locale; `en` is the fallback. */
|
|
18004
|
+
locale?: string;
|
|
18005
|
+
/** Optional message overrides layered on top of the resolved locale bundle. */
|
|
18006
|
+
messages?: Record<string, string>;
|
|
18007
|
+
/** Strip height in px (excludes the config header + axis). Default 92. */
|
|
18008
|
+
height?: number;
|
|
18009
|
+
theme?: "dark" | "light";
|
|
18010
|
+
className?: string;
|
|
18011
|
+
}
|
|
18012
|
+
/**
|
|
18013
|
+
* Graph-friendly timeline ("Time Bar").
|
|
18014
|
+
*
|
|
18015
|
+
* Renders a temporal activity histogram over `api.timeline`: each bar is a time
|
|
18016
|
+
* bucket, height = element count. Brush a range (drag, with edge handles) to
|
|
18017
|
+
* filter the graph; click to place a point cursor; play to animate the window.
|
|
18018
|
+
* Modeless — no range/point toggle. All visible strings are localized via the
|
|
18019
|
+
* single `locale` prop (en fallback).
|
|
18020
|
+
*/
|
|
18021
|
+
declare function Timeline({ api, locale, messages, height, theme, className, }: TimelineProps): React__default.ReactElement;
|
|
18022
|
+
|
|
18023
|
+
/**
|
|
18024
|
+
* Pure time ↔ pixel mapping for the timeline.
|
|
18025
|
+
*
|
|
18026
|
+
* `domain` is `[startMs, endMs]`; `width` is the strip's pixel width. Both
|
|
18027
|
+
* directions clamp to their range so a drag past the edge stays valid.
|
|
18028
|
+
*/
|
|
18029
|
+
type Domain = [number, number];
|
|
18030
|
+
|
|
18031
|
+
interface TimelineCanvasProps {
|
|
18032
|
+
bins: Bin[];
|
|
18033
|
+
domain: Domain | null;
|
|
18034
|
+
/** Brushed window `[start,end]` in ms; bars intersecting it render "hot". */
|
|
18035
|
+
range: [number, number] | null;
|
|
18036
|
+
width: number;
|
|
18037
|
+
height: number;
|
|
18038
|
+
theme?: "dark" | "light";
|
|
18039
|
+
}
|
|
18040
|
+
/**
|
|
18041
|
+
* Canvas 2D renderer for the timeline bars.
|
|
18042
|
+
*
|
|
18043
|
+
* Bottom-anchored bars scaled to the max count; bars inside the brushed range
|
|
18044
|
+
* get a red glow, the rest steel-blue. Pure presentation — all interaction is
|
|
18045
|
+
* handled by the parent `<Timeline>` DOM overlays. Redraws on any prop change,
|
|
18046
|
+
* crisp on HiDPI via `devicePixelRatio`.
|
|
18047
|
+
*/
|
|
18048
|
+
declare function TimelineCanvas({ bins, domain, range, width, height, theme, }: TimelineCanvasProps): React__default.ReactElement;
|
|
18049
|
+
|
|
18050
|
+
interface TimelineData {
|
|
18051
|
+
bins: Bin[];
|
|
18052
|
+
domain: [number, number] | null;
|
|
18053
|
+
}
|
|
18054
|
+
/**
|
|
18055
|
+
* Subscribe to the graph store and recompute the timeline histogram whenever
|
|
18056
|
+
* the data changes or the binning source changes.
|
|
18057
|
+
*
|
|
18058
|
+
* Computes synchronously on mount / source change, then coalesces store-driven
|
|
18059
|
+
* updates to at most one recompute per frame.
|
|
18060
|
+
*
|
|
18061
|
+
* IMPORTANT: the coalescing uses a "leading flag" rather than
|
|
18062
|
+
* `cancelAnimationFrame` + reschedule. While a force-layout simulation is hot
|
|
18063
|
+
* it fires `subscribeVersionChanged` every frame; a cancel-and-reschedule debounce
|
|
18064
|
+
* would be perpetually deferred and never run (the bars would stay empty until the
|
|
18065
|
+
* layout cooled). The flag guarantees the scheduled frame always fires.
|
|
18066
|
+
*
|
|
18067
|
+
* @param api - the render engine API (provides `api.timeline` + `api.store`).
|
|
18068
|
+
* @param sourceKey - a string that changes whenever the binning source changes
|
|
18069
|
+
* (the caller derives it from `api.timeline.getSource()`), forcing a refresh.
|
|
18070
|
+
*/
|
|
18071
|
+
declare function useTimelineData(api: RenderEngineApi$1, sourceKey: string): TimelineData;
|
|
18072
|
+
|
|
18073
|
+
declare const DEFAULT_TIMELINE_MESSAGES: Record<string, string>;
|
|
18074
|
+
/** Resolve the merged message map for a locale, layering optional host overrides on top. */
|
|
18075
|
+
declare function resolveTimelineMessages(locale: string | undefined, override?: Record<string, string>): Record<string, string>;
|
|
18076
|
+
|
|
17633
18077
|
type UniformValue = number | number[] | THREE$1.Color | THREE$1.Vector2 | THREE$1.Vector3 | THREE$1.Vector4 | THREE$1.Texture;
|
|
17634
18078
|
interface NodeShaderAttribute {
|
|
17635
18079
|
/** GLSL attribute name; exposed to the fragment shader as varying `v<Name>`. */
|
|
@@ -17684,6 +18128,231 @@ interface CoverageLayerProps {
|
|
|
17684
18128
|
*/
|
|
17685
18129
|
declare function CoverageLayer({ items }: CoverageLayerProps): null;
|
|
17686
18130
|
|
|
18131
|
+
/**
|
|
18132
|
+
* PolygonRenderer — filled polygons (with optional holes) drawn flat in the
|
|
18133
|
+
* cloudScene XY plane, each with an outline. The generic counterpart to the
|
|
18134
|
+
* CoverageRenderer's wedges: where coverage draws parametric discs/sectors,
|
|
18135
|
+
* this draws ARBITRARY polygon geometry — overlap/intersection regions, zones,
|
|
18136
|
+
* catchment areas, or any GeoJSON Polygon/MultiPolygon.
|
|
18137
|
+
*
|
|
18138
|
+
* Domain-agnostic: the renderer consumes WORLD-space rings. Geographic input
|
|
18139
|
+
* (GeoJSON lng/lat) is resolved to world coords upstream in `api.polygon`
|
|
18140
|
+
* (mirrors how `api.coverage` resolves radiusKm→world before CoverageRenderer).
|
|
18141
|
+
*
|
|
18142
|
+
* Rendering: one `THREE.Mesh` (ShapeGeometry, MeshBasicMaterial) for the fill
|
|
18143
|
+
* plus one `THREE.LineLoop` per ring for the outline, all parented to a single
|
|
18144
|
+
* Group. `update()` rebuilds from scratch — cheap for the handful of polygons
|
|
18145
|
+
* this targets (overlap regions, a few zones), and keeps the diff trivial.
|
|
18146
|
+
*
|
|
18147
|
+
* Map modes — planar AND spherical. In planar map mode rings lie in the
|
|
18148
|
+
* cloudScene XY plane (z constant, what `map.latLngToWorld` yields), so the fill
|
|
18149
|
+
* is triangulated in XY and laid flat at that z. In globe mode (`ctx.sphereRadius
|
|
18150
|
+
* > 0`) rings lie ON the sphere surface with arbitrary orientation; the fill is
|
|
18151
|
+
* triangulated in the surface TANGENT plane at the polygon centroid (the same
|
|
18152
|
+
* east/north basis the coverage shader uses, mirrored CPU-side) and the position
|
|
18153
|
+
* buffer keeps the REAL 3D world coords so the fill drapes over the globe. The
|
|
18154
|
+
* outline LineLoops already use the real 3D points and are correct in both modes.
|
|
18155
|
+
*/
|
|
18156
|
+
|
|
18157
|
+
/** A single filled polygon. Domain-agnostic; coordinates are WORLD-space. */
|
|
18158
|
+
interface PolygonItem {
|
|
18159
|
+
/** Optional stable id (debugging / future diffing). */
|
|
18160
|
+
id?: string;
|
|
18161
|
+
/**
|
|
18162
|
+
* Polygon rings in WORLD coords. First ring = outer boundary; any subsequent
|
|
18163
|
+
* rings = holes. Each point is `[x, y, z]` (z is used only to place the fill
|
|
18164
|
+
* plane; triangulation happens in XY).
|
|
18165
|
+
*/
|
|
18166
|
+
rings: Array<Array<[number, number, number]>>;
|
|
18167
|
+
/** Interior fill RGB, each channel 0..1. */
|
|
18168
|
+
fillColor: [number, number, number];
|
|
18169
|
+
/** Fill opacity 0..1. Default 0.4. */
|
|
18170
|
+
fillOpacity?: number;
|
|
18171
|
+
/** Outline RGB 0..1. Defaults to `fillColor`. */
|
|
18172
|
+
outlineColor?: [number, number, number];
|
|
18173
|
+
/** Outline opacity 0..1. Default 0.9. */
|
|
18174
|
+
outlineOpacity?: number;
|
|
18175
|
+
/** Draw the boundary outline. Default true. */
|
|
18176
|
+
outline?: boolean;
|
|
18177
|
+
/**
|
|
18178
|
+
* Render band. `"overlay"` (default) draws in front of the graph (over nodes).
|
|
18179
|
+
* `"underlay"` draws behind the nodes (but above the basemap) — a ground
|
|
18180
|
+
* highlight that never blocks markers/labels. Use it for filled geo regions
|
|
18181
|
+
* the user must still see/click the nodes inside.
|
|
18182
|
+
*/
|
|
18183
|
+
band?: "underlay" | "overlay";
|
|
18184
|
+
}
|
|
18185
|
+
interface PolygonConfig {
|
|
18186
|
+
items: PolygonItem[];
|
|
18187
|
+
}
|
|
18188
|
+
|
|
18189
|
+
/**
|
|
18190
|
+
* Props for {@link PolygonLayer}.
|
|
18191
|
+
*
|
|
18192
|
+
* @remarks
|
|
18193
|
+
* Updates are driven by **array identity** (`useMemo([items])`). Pass a NEW array
|
|
18194
|
+
* reference to trigger a re-render — mutating in place won't be detected.
|
|
18195
|
+
* Items carry WORLD-space rings; for geographic input prefer the imperative
|
|
18196
|
+
* `api.polygon.set` (it projects GeoJSON / lat-lng via the map).
|
|
18197
|
+
*/
|
|
18198
|
+
interface PolygonLayerProps {
|
|
18199
|
+
items: PolygonItem[];
|
|
18200
|
+
}
|
|
18201
|
+
/**
|
|
18202
|
+
* Declarative React wrapper for the PolygonRenderer — filled polygons (with
|
|
18203
|
+
* optional holes) and outlines, drawn flat in the cloudScene XY plane.
|
|
18204
|
+
* For imperative runtime use (and GeoJSON/geo projection), prefer
|
|
18205
|
+
* `api.polygon.set/clear`.
|
|
18206
|
+
*/
|
|
18207
|
+
declare function PolygonLayer({ items }: PolygonLayerProps): null;
|
|
18208
|
+
|
|
18209
|
+
interface GeoLocalLayerProps {
|
|
18210
|
+
geoIds: string[];
|
|
18211
|
+
nonGeoIds: string[];
|
|
18212
|
+
edges: ReadonlyArray<{
|
|
18213
|
+
source: string;
|
|
18214
|
+
target: string;
|
|
18215
|
+
}>;
|
|
18216
|
+
linkPx?: number;
|
|
18217
|
+
}
|
|
18218
|
+
/**
|
|
18219
|
+
* Declarative React wrapper for {@link GeoLocalRenderer}.
|
|
18220
|
+
*
|
|
18221
|
+
* On a planar slippy-map, renders non-geo graph nodes in a screen-space
|
|
18222
|
+
* spring simulation anchored to their geo neighbours, keeping them ~`linkPx`
|
|
18223
|
+
* pixels from their nearest geo anchor at any zoom level.
|
|
18224
|
+
*
|
|
18225
|
+
* Only active when `isMapMode && sphereRadius === 0` (planar map).
|
|
18226
|
+
*
|
|
18227
|
+
* **Pin ownership warning:** This layer takes exclusive ownership of pinning
|
|
18228
|
+
* the _connected_ non-geo nodes (those that have a path to a geo anchor).
|
|
18229
|
+
* The host MUST call `applyGeoLayout({ pinAutoPlaced: false })` (or otherwise
|
|
18230
|
+
* avoid pinning these nodes via any other path), because engine pin state is a
|
|
18231
|
+
* single boolean with **no reference counting** — if two subsystems both pin
|
|
18232
|
+
* the same node, whichever one unpins first (e.g. on layer teardown) will
|
|
18233
|
+
* silently clear the other subsystem's pin, leaving the node free when it
|
|
18234
|
+
* should still be held.
|
|
18235
|
+
*
|
|
18236
|
+
* Disconnected non-geo nodes (no path to any geo anchor) are intentionally
|
|
18237
|
+
* left untouched so the world force simulation can place them freely.
|
|
18238
|
+
*
|
|
18239
|
+
* Pins are released automatically on unmount.
|
|
18240
|
+
*/
|
|
18241
|
+
declare function GeoLocalLayer({ geoIds, nonGeoIds, edges, linkPx, }: GeoLocalLayerProps): null;
|
|
18242
|
+
|
|
18243
|
+
interface GeoLocalConfig {
|
|
18244
|
+
geoIds: string[];
|
|
18245
|
+
nonGeoIds: string[];
|
|
18246
|
+
edges: ReadonlyArray<{
|
|
18247
|
+
source: string;
|
|
18248
|
+
target: string;
|
|
18249
|
+
}>;
|
|
18250
|
+
linkPx?: number;
|
|
18251
|
+
}
|
|
18252
|
+
|
|
18253
|
+
interface GeoEgoRingLayerProps {
|
|
18254
|
+
geoIds: string[];
|
|
18255
|
+
nonGeoIds: string[];
|
|
18256
|
+
edges: ReadonlyArray<{
|
|
18257
|
+
source: string;
|
|
18258
|
+
target: string;
|
|
18259
|
+
}>;
|
|
18260
|
+
/** Screen-px spacing between rings (ring d targets `d · ringGapPx` on screen). */
|
|
18261
|
+
ringGapPx?: number;
|
|
18262
|
+
/** When set, place/pin only non-geo whose primary anchor is in this set.
|
|
18263
|
+
* Undefined = every anchor expanded (current behaviour). */
|
|
18264
|
+
expandedAnchors?: ReadonlySet<string>;
|
|
18265
|
+
/** Ring radius ≤ neighbourCap × nearest-anchor distance (default 0.45). */
|
|
18266
|
+
neighbourCap?: number;
|
|
18267
|
+
/** Ring radius ≤ maxViewportFraction × viewport height in world units (default 0.25). */
|
|
18268
|
+
maxViewportFraction?: number;
|
|
18269
|
+
}
|
|
18270
|
+
/**
|
|
18271
|
+
* Declarative React wrapper for {@link GeoEgoRingRenderer}.
|
|
18272
|
+
*
|
|
18273
|
+
* On a planar slippy-map, arranges non-geo graph nodes on a deterministic
|
|
18274
|
+
* concentric **ego ring** around their geo neighbour, in REAL 3D world space.
|
|
18275
|
+
* The nodes are drawn by the existing core node cloud — **this layer renders no
|
|
18276
|
+
* geometry of its own**; it only computes ring world positions and pins the
|
|
18277
|
+
* nodes, recomputing the radius when the zoom crosses a band so the ring stays a
|
|
18278
|
+
* roughly constant screen size at any zoom without per-frame float32 jitter.
|
|
18279
|
+
*
|
|
18280
|
+
* Because the non-geo nodes live in the one core cloud, their edges, picking,
|
|
18281
|
+
* styling and VR rendering all work unchanged (no overlay, no second layer).
|
|
18282
|
+
*
|
|
18283
|
+
* Only active when `isMapMode && sphereRadius === 0` (planar map).
|
|
18284
|
+
*
|
|
18285
|
+
* **Pin ownership warning:** takes exclusive ownership of pinning the connected
|
|
18286
|
+
* non-geo nodes; the host MUST call `applyGeoLayout({ pinAutoPlaced: false })`
|
|
18287
|
+
* so two subsystems don't fight over the single (un-refcounted) pin flag.
|
|
18288
|
+
* Disconnected non-geo (no path to any geo anchor) are left to the world force
|
|
18289
|
+
* simulation. Pins are released on unmount.
|
|
18290
|
+
*/
|
|
18291
|
+
declare function GeoEgoRingLayer({ geoIds, nonGeoIds, edges, ringGapPx, expandedAnchors, neighbourCap, maxViewportFraction, }: GeoEgoRingLayerProps): null;
|
|
18292
|
+
|
|
18293
|
+
interface GeoEgoRingConfig {
|
|
18294
|
+
geoIds: string[];
|
|
18295
|
+
nonGeoIds: string[];
|
|
18296
|
+
edges: ReadonlyArray<{
|
|
18297
|
+
source: string;
|
|
18298
|
+
target: string;
|
|
18299
|
+
}>;
|
|
18300
|
+
/** Screen-px spacing between rings (ring d targets `d · ringGapPx` on screen). */
|
|
18301
|
+
ringGapPx?: number;
|
|
18302
|
+
/** When set, place/pin only non-geo whose primary anchor is in this set.
|
|
18303
|
+
* Undefined = all anchors expanded (current behaviour). */
|
|
18304
|
+
expandedAnchors?: ReadonlySet<string>;
|
|
18305
|
+
/** ring radius ≤ neighbourCap × nearest-anchor distance (default 0.45). */
|
|
18306
|
+
neighbourCap?: number;
|
|
18307
|
+
/** ring radius ≤ maxViewportFraction × viewport height in world units (default 0.25). */
|
|
18308
|
+
maxViewportFraction?: number;
|
|
18309
|
+
}
|
|
18310
|
+
|
|
18311
|
+
interface AnchorEntry {
|
|
18312
|
+
id: string;
|
|
18313
|
+
depth: number;
|
|
18314
|
+
parents: string[];
|
|
18315
|
+
}
|
|
18316
|
+
interface AnchorForest {
|
|
18317
|
+
entries: AnchorEntry[];
|
|
18318
|
+
order: string[];
|
|
18319
|
+
disconnected: string[];
|
|
18320
|
+
}
|
|
18321
|
+
|
|
18322
|
+
/**
|
|
18323
|
+
* A non-geo node's placement on its geo anchor's ego ring. The direction
|
|
18324
|
+
* `(dx, dy)` is a UNIT vector (zoom-independent); `depth` selects the ring.
|
|
18325
|
+
* The renderer scales the direction by a per-zoom-level world radius so the
|
|
18326
|
+
* ring stays a roughly constant screen size — see {@link GeoEgoRingRenderer}.
|
|
18327
|
+
*/
|
|
18328
|
+
interface EgoRingNode {
|
|
18329
|
+
id: string;
|
|
18330
|
+
/** The geo node at the centre of this ring. */
|
|
18331
|
+
anchorId: string;
|
|
18332
|
+
/** Hop distance from the geo anchor (1 = inner ring, 2 = next ring out, …). */
|
|
18333
|
+
depth: number;
|
|
18334
|
+
/** Unit ring direction. */
|
|
18335
|
+
dx: number;
|
|
18336
|
+
dy: number;
|
|
18337
|
+
}
|
|
18338
|
+
/**
|
|
18339
|
+
* Deterministic **radial-tree ego layout** (pure computation — no force
|
|
18340
|
+
* simulation, so no settling and no jitter; same input ⇒ same output).
|
|
18341
|
+
*
|
|
18342
|
+
* Each geo anchor is the centre of a radial tree of its non-geo descendants:
|
|
18343
|
+
* hop distance = ring (radius ∝ depth), and the full circle is divided among
|
|
18344
|
+
* the anchor's subtrees **in proportion to each subtree's leaf count** (the d3
|
|
18345
|
+
* radial-cluster rule). A bushy subtree therefore gets a wide angular wedge and
|
|
18346
|
+
* a thin chain gets a narrow one, so deep/uneven trees spread out cleanly
|
|
18347
|
+
* instead of collapsing into overlapping spokes (the failure of equal-wedge
|
|
18348
|
+
* splitting). A node sits at the angular midpoint of its own wedge, centred
|
|
18349
|
+
* above its children — true hierarchical / ego topology; sibling subtrees never cross.
|
|
18350
|
+
*
|
|
18351
|
+
* Angles are **zoom-independent**; the renderer multiplies each `(dx,dy)` by a
|
|
18352
|
+
* world radius chosen per zoom level, which keeps the ring visible at any zoom.
|
|
18353
|
+
*/
|
|
18354
|
+
declare function computeEgoRing(forest: AnchorForest): EgoRingNode[];
|
|
18355
|
+
|
|
17687
18356
|
interface PitchToggleButtonProps {
|
|
17688
18357
|
/** Portal target — must be the GraphCanvas container or another positioned ancestor. */
|
|
17689
18358
|
container: HTMLElement;
|
|
@@ -17744,8 +18413,21 @@ declare class ScaledLODRadial {
|
|
|
17744
18413
|
*/
|
|
17745
18414
|
declare class MapCoordinateProvider {
|
|
17746
18415
|
private mapScale;
|
|
17747
|
-
|
|
18416
|
+
/**
|
|
18417
|
+
* Scene-space radius of the globe in SPHERICAL mode. Decoupled from
|
|
18418
|
+
* `mapScale` (which sizes the PLANAR Mercator map): the globe mesh, geo
|
|
18419
|
+
* nodes (`applyGeoLayout` → `polar2Cartesian(lat,lng,globeRadius)`) and the
|
|
18420
|
+
* camera/zoom math all live on a sphere of `globeRadius` scene units, so
|
|
18421
|
+
* `latLngToWorld(spherical)` MUST return positions on that same sphere or
|
|
18422
|
+
* polygons/markers placed via lat/lng float off the surface. Defaults to
|
|
18423
|
+
* `EARTH_RADIUS * mapScale` (the legacy value) when not supplied, preserving
|
|
18424
|
+
* behavior for callers that predate the explicit globe radius.
|
|
18425
|
+
*/
|
|
18426
|
+
private sphereRadius;
|
|
18427
|
+
constructor(mapScale: number, sphereRadius?: number);
|
|
17748
18428
|
getScale(): number;
|
|
18429
|
+
/** Scene-space globe radius used by all SPHERICAL-mode conversions. */
|
|
18430
|
+
getSphereRadius(): number;
|
|
17749
18431
|
/**
|
|
17750
18432
|
* Convert lat/lng to scene world coordinates.
|
|
17751
18433
|
*
|
|
@@ -18909,4 +19591,4 @@ declare function createDefaultRegistry(): ToolRegistry$1;
|
|
|
18909
19591
|
|
|
18910
19592
|
declare function useToolbarState(initialState?: Partial<ToolbarState>): Required<ToolbarControlledProps>;
|
|
18911
19593
|
|
|
18912
|
-
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 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, 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 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, 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, type TimelineEvent, type TimelineReplayConfig, TimelineReplayEffect, 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, 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, useToolbarState, useViewStateField, vectorDark };
|
|
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 };
|