egraph 6.0.0-alpha.6 → 6.0.0-alpha.8
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/package.json +1 -1
- package/pkg/egraph_wasm.d.ts +3306 -578
- package/pkg/egraph_wasm.js +11080 -2255
- package/pkg/egraph_wasm_bg.wasm +0 -0
- package/pkg/index.d.ts +4087 -790
- package/pkg/index.js +178 -2
package/pkg/index.js
CHANGED
|
@@ -2,17 +2,36 @@
|
|
|
2
2
|
import init, {
|
|
3
3
|
Layout2d as _Layout2d,
|
|
4
4
|
LayoutNd as _LayoutNd,
|
|
5
|
+
AmgPcgBatchResult,
|
|
6
|
+
AmgPcgSolveResult,
|
|
7
|
+
AmgPcgSolver,
|
|
8
|
+
AnisotropicLaplacianResult,
|
|
9
|
+
BackboneResult,
|
|
10
|
+
BackboneSolver,
|
|
11
|
+
ClassDensityResult,
|
|
12
|
+
ClusterAreaReport,
|
|
13
|
+
ClusterRefineSolver,
|
|
14
|
+
CoarseBackboneResult,
|
|
5
15
|
CoarsenedGraphResult,
|
|
16
|
+
CoarsenedHierarchyResult,
|
|
6
17
|
CrossingPair,
|
|
7
18
|
CrossingSummary,
|
|
8
19
|
CsrGraph,
|
|
20
|
+
CsrMatrix,
|
|
9
21
|
DelaunayResult,
|
|
10
22
|
DogStats,
|
|
11
23
|
DogVaradhanLandmarks,
|
|
24
|
+
EffectiveResistanceResult,
|
|
12
25
|
EigenResult,
|
|
13
26
|
FdebSolver,
|
|
14
27
|
FitFieldStats,
|
|
28
|
+
ForbidOverlapRemoval,
|
|
15
29
|
ForceAtlas2Solver,
|
|
30
|
+
FruchtermanReingoldSolver,
|
|
31
|
+
GTreeOverlapRemoval,
|
|
32
|
+
GemSolver,
|
|
33
|
+
GripSolver,
|
|
34
|
+
GroupInABoxSolver,
|
|
16
35
|
GuMapSolver,
|
|
17
36
|
HybridKnnResult,
|
|
18
37
|
IbUmapSolver,
|
|
@@ -20,12 +39,30 @@ import init, {
|
|
|
20
39
|
KamadaKawaiSolver,
|
|
21
40
|
KnnGraph,
|
|
22
41
|
LargestConnectedComponentResult,
|
|
42
|
+
LayoutDegeneracy,
|
|
43
|
+
LeidenResult,
|
|
44
|
+
LinLogSolver,
|
|
23
45
|
LouvainResult,
|
|
24
46
|
ManifoldLayout2d,
|
|
47
|
+
MaxentStressSolver,
|
|
25
48
|
MetricReport,
|
|
49
|
+
MinimumAngleSummary,
|
|
50
|
+
NorMetricsResult,
|
|
51
|
+
PacmapBackboneResult,
|
|
52
|
+
PartitionAgreementResult,
|
|
53
|
+
PfsPrimeOverlapRemoval,
|
|
26
54
|
PrismDistortion,
|
|
27
55
|
PrismOverlapRemoval,
|
|
56
|
+
ResistanceCurvatureFlowResult,
|
|
57
|
+
ResistanceCurvatureStep,
|
|
58
|
+
RhghLandmarksResult,
|
|
59
|
+
RtaEvaluation,
|
|
60
|
+
ScreenedPoissonField2d,
|
|
61
|
+
ScreenedPoissonRefiner,
|
|
62
|
+
ScreenedPoissonResult,
|
|
63
|
+
SelLayoutSolver,
|
|
28
64
|
SeparationConstraint,
|
|
65
|
+
SfcLayoutSolver,
|
|
29
66
|
SgdSolver,
|
|
30
67
|
Sparse12HopPairs,
|
|
31
68
|
SparseBarrierStats,
|
|
@@ -42,86 +79,137 @@ import init, {
|
|
|
42
79
|
TwoHopCsr,
|
|
43
80
|
TwoHopKnnResult,
|
|
44
81
|
YifanHuSolver,
|
|
82
|
+
adjustedPatchNig,
|
|
83
|
+
adjustedPatchNigMultiscale,
|
|
84
|
+
alignClusteredCentroids,
|
|
45
85
|
allPairsBfs,
|
|
46
86
|
angularResolutionV6,
|
|
87
|
+
anisotropicLaplacian,
|
|
47
88
|
applyRelativeDistanceFloor,
|
|
48
89
|
aspectRatioV6,
|
|
49
90
|
assignLayers,
|
|
50
91
|
bfsSingleSource,
|
|
92
|
+
buildCapped12hopKnn,
|
|
51
93
|
buildGumap12hopPriorityCsr,
|
|
52
94
|
buildHybridAdaptiveKnn,
|
|
53
95
|
buildPure2hopKnn,
|
|
54
96
|
buildRerankKnn,
|
|
97
|
+
calinskiHarabaszScore,
|
|
55
98
|
chebyshevDogJlEmbedding,
|
|
99
|
+
chebyshevDogJlEmbeddingMatrix,
|
|
56
100
|
chebyshevHeatSpmv,
|
|
101
|
+
chebyshevHeatSpmvMatrix,
|
|
102
|
+
classDensityMeasure,
|
|
57
103
|
classicalMds2d,
|
|
104
|
+
clusterAreaFaithfulness,
|
|
105
|
+
clusterAreaFaithfulnessDetail,
|
|
106
|
+
coarseBackboneInit,
|
|
58
107
|
coarsenGraph,
|
|
59
108
|
compute2hopNeighborhoodSizes,
|
|
60
109
|
computeDiffusionEmbedding,
|
|
110
|
+
computeEffectiveResistances,
|
|
61
111
|
computeFuzzySimplicialSet,
|
|
62
112
|
computeHorvitzThompsonGamma,
|
|
63
113
|
computeKnnProbabilities,
|
|
64
114
|
computeMedian2hopPerplexity,
|
|
65
115
|
computeNodewise2hopPerplexities,
|
|
116
|
+
computePivotedRhghLandmarks,
|
|
66
117
|
computeRegularizedDogVaradhanLandmarks,
|
|
118
|
+
computeRegularizedDogVaradhanLandmarksFromMatrix,
|
|
67
119
|
computeResistanceEmbedding,
|
|
120
|
+
cqHac,
|
|
121
|
+
cqKmeans,
|
|
68
122
|
crossingEdges,
|
|
69
123
|
crossingEdgesTorus,
|
|
70
124
|
crossingSummary,
|
|
125
|
+
crosslessness,
|
|
71
126
|
cycleEdges,
|
|
127
|
+
daviesBouldinScore,
|
|
72
128
|
delaunayToCsr,
|
|
73
129
|
delaunayTriangulation,
|
|
74
130
|
dggPreservation,
|
|
131
|
+
distanceConsistency,
|
|
132
|
+
distributionConsistency,
|
|
75
133
|
drngPreservation,
|
|
76
134
|
edgeAngle,
|
|
77
135
|
evaluateMetrics,
|
|
78
136
|
extract1hop2hopCsr,
|
|
137
|
+
extractQuadrilateralBackbone,
|
|
79
138
|
extractSparse1hop2hopPairs,
|
|
80
139
|
findAbParams,
|
|
81
140
|
gabrielGraphEdges,
|
|
82
141
|
gabrielGraphPropertyV6,
|
|
83
142
|
generateLayeredConstraints,
|
|
143
|
+
graph12hopRowNormalizedProbabilities,
|
|
84
144
|
graphRowNormalizedProbabilities,
|
|
145
|
+
hde,
|
|
146
|
+
hdeNd,
|
|
85
147
|
idealEdgeLengthsV6,
|
|
86
148
|
idealEdgeLengthsWithUnit,
|
|
87
149
|
initSync,
|
|
88
150
|
kmeansPlusPlus,
|
|
89
151
|
korenSpectralInit,
|
|
90
152
|
labelPropagation,
|
|
91
|
-
|
|
153
|
+
landmarkStratifiedRta,
|
|
154
|
+
landmarkStratifiedRtaDetail,
|
|
155
|
+
landmarkStratifiedRtaFromLandmarks,
|
|
156
|
+
layoutDegeneracy,
|
|
157
|
+
leidenCommunities,
|
|
158
|
+
louvainCoarsen,
|
|
92
159
|
louvainCommunities,
|
|
160
|
+
minimumAngle,
|
|
161
|
+
minimumAngleSummary,
|
|
162
|
+
neighborhoodHit,
|
|
93
163
|
neighborhoodPreservation1Hop,
|
|
94
164
|
neighborhoodPreservation2HopV6,
|
|
95
165
|
nodeResolutionV6,
|
|
166
|
+
norMetrics,
|
|
167
|
+
norMetricsWithoutGraph,
|
|
96
168
|
normalizeLayout2d,
|
|
169
|
+
pairwiseDistanceOverlapError,
|
|
97
170
|
parseCsrCsv,
|
|
98
171
|
partialBfsKnn,
|
|
172
|
+
partitionAgreement,
|
|
99
173
|
pivotMdsInit,
|
|
100
174
|
poincareDistance,
|
|
175
|
+
poincareMobiusAdd,
|
|
101
176
|
prismDistortion,
|
|
102
177
|
prismDistortionWithEdges,
|
|
103
178
|
project1d,
|
|
104
179
|
projectClusteredLayout,
|
|
180
|
+
projectClusteredLayoutWithRadii,
|
|
105
181
|
projectClusteredRectangleNoOverlap2d,
|
|
106
182
|
projectLayoutAxis,
|
|
107
183
|
projectRectangleNoOverlap2d,
|
|
108
184
|
rdMds,
|
|
109
185
|
rectangleOverlaps,
|
|
186
|
+
refineClusterLayout,
|
|
110
187
|
relativeNeighborhoodEdges,
|
|
111
188
|
removeCycles,
|
|
112
189
|
representativeMds,
|
|
190
|
+
resistanceCurvatureFlow,
|
|
191
|
+
robustNormalizeLayout2d,
|
|
113
192
|
sampledCrossingNumber,
|
|
193
|
+
sampledCrosslessness,
|
|
114
194
|
sampledNp1,
|
|
115
195
|
sampledNp2,
|
|
116
196
|
sampledScaleNormalizedStress,
|
|
117
197
|
scaleNormalizedStress,
|
|
118
198
|
scaleNormalizedStressFromDistances,
|
|
119
199
|
selectMaxminSpPivots,
|
|
200
|
+
sepmeGab,
|
|
201
|
+
sepmeGong,
|
|
202
|
+
sepmeKnng,
|
|
203
|
+
sepmeRng,
|
|
120
204
|
setPanicHook,
|
|
205
|
+
silhouetteScore,
|
|
121
206
|
smallestLaplacianEigenpairs,
|
|
122
207
|
spectralClustering,
|
|
123
208
|
spectralMomentStats,
|
|
124
209
|
sphericalDistance,
|
|
210
|
+
sprawlterNn,
|
|
211
|
+
sprawlterNnRadii,
|
|
212
|
+
squarifiedTreemap,
|
|
125
213
|
sweepCrossingAngle,
|
|
126
214
|
sweepCrossingNumber,
|
|
127
215
|
symmetrizeRowNormalized,
|
|
@@ -283,17 +371,36 @@ export function runProgressive(solver, layout, onFrame, options = {}) {
|
|
|
283
371
|
export const Layout2d = attachCoordsView(_Layout2d);
|
|
284
372
|
export const LayoutNd = attachCoordsView(_LayoutNd);
|
|
285
373
|
export {
|
|
374
|
+
AmgPcgBatchResult,
|
|
375
|
+
AmgPcgSolveResult,
|
|
376
|
+
AmgPcgSolver,
|
|
377
|
+
AnisotropicLaplacianResult,
|
|
378
|
+
BackboneResult,
|
|
379
|
+
BackboneSolver,
|
|
380
|
+
ClassDensityResult,
|
|
381
|
+
ClusterAreaReport,
|
|
382
|
+
ClusterRefineSolver,
|
|
383
|
+
CoarseBackboneResult,
|
|
286
384
|
CoarsenedGraphResult,
|
|
385
|
+
CoarsenedHierarchyResult,
|
|
287
386
|
CrossingPair,
|
|
288
387
|
CrossingSummary,
|
|
289
388
|
CsrGraph,
|
|
389
|
+
CsrMatrix,
|
|
290
390
|
DelaunayResult,
|
|
291
391
|
DogStats,
|
|
292
392
|
DogVaradhanLandmarks,
|
|
393
|
+
EffectiveResistanceResult,
|
|
293
394
|
EigenResult,
|
|
294
395
|
FdebSolver,
|
|
295
396
|
FitFieldStats,
|
|
397
|
+
ForbidOverlapRemoval,
|
|
296
398
|
ForceAtlas2Solver,
|
|
399
|
+
FruchtermanReingoldSolver,
|
|
400
|
+
GTreeOverlapRemoval,
|
|
401
|
+
GemSolver,
|
|
402
|
+
GripSolver,
|
|
403
|
+
GroupInABoxSolver,
|
|
297
404
|
GuMapSolver,
|
|
298
405
|
HybridKnnResult,
|
|
299
406
|
IbUmapSolver,
|
|
@@ -301,12 +408,30 @@ export {
|
|
|
301
408
|
KamadaKawaiSolver,
|
|
302
409
|
KnnGraph,
|
|
303
410
|
LargestConnectedComponentResult,
|
|
411
|
+
LayoutDegeneracy,
|
|
412
|
+
LeidenResult,
|
|
413
|
+
LinLogSolver,
|
|
304
414
|
LouvainResult,
|
|
305
415
|
ManifoldLayout2d,
|
|
416
|
+
MaxentStressSolver,
|
|
306
417
|
MetricReport,
|
|
418
|
+
MinimumAngleSummary,
|
|
419
|
+
NorMetricsResult,
|
|
420
|
+
PacmapBackboneResult,
|
|
421
|
+
PartitionAgreementResult,
|
|
422
|
+
PfsPrimeOverlapRemoval,
|
|
307
423
|
PrismDistortion,
|
|
308
424
|
PrismOverlapRemoval,
|
|
425
|
+
ResistanceCurvatureFlowResult,
|
|
426
|
+
ResistanceCurvatureStep,
|
|
427
|
+
RhghLandmarksResult,
|
|
428
|
+
RtaEvaluation,
|
|
429
|
+
ScreenedPoissonField2d,
|
|
430
|
+
ScreenedPoissonRefiner,
|
|
431
|
+
ScreenedPoissonResult,
|
|
432
|
+
SelLayoutSolver,
|
|
309
433
|
SeparationConstraint,
|
|
434
|
+
SfcLayoutSolver,
|
|
310
435
|
SgdSolver,
|
|
311
436
|
Sparse12HopPairs,
|
|
312
437
|
SparseBarrierStats,
|
|
@@ -323,86 +448,137 @@ export {
|
|
|
323
448
|
TwoHopCsr,
|
|
324
449
|
TwoHopKnnResult,
|
|
325
450
|
YifanHuSolver,
|
|
451
|
+
adjustedPatchNig,
|
|
452
|
+
adjustedPatchNigMultiscale,
|
|
453
|
+
alignClusteredCentroids,
|
|
326
454
|
allPairsBfs,
|
|
327
455
|
angularResolutionV6,
|
|
456
|
+
anisotropicLaplacian,
|
|
328
457
|
applyRelativeDistanceFloor,
|
|
329
458
|
aspectRatioV6,
|
|
330
459
|
assignLayers,
|
|
331
460
|
bfsSingleSource,
|
|
461
|
+
buildCapped12hopKnn,
|
|
332
462
|
buildGumap12hopPriorityCsr,
|
|
333
463
|
buildHybridAdaptiveKnn,
|
|
334
464
|
buildPure2hopKnn,
|
|
335
465
|
buildRerankKnn,
|
|
466
|
+
calinskiHarabaszScore,
|
|
336
467
|
chebyshevDogJlEmbedding,
|
|
468
|
+
chebyshevDogJlEmbeddingMatrix,
|
|
337
469
|
chebyshevHeatSpmv,
|
|
470
|
+
chebyshevHeatSpmvMatrix,
|
|
471
|
+
classDensityMeasure,
|
|
338
472
|
classicalMds2d,
|
|
473
|
+
clusterAreaFaithfulness,
|
|
474
|
+
clusterAreaFaithfulnessDetail,
|
|
475
|
+
coarseBackboneInit,
|
|
339
476
|
coarsenGraph,
|
|
340
477
|
compute2hopNeighborhoodSizes,
|
|
341
478
|
computeDiffusionEmbedding,
|
|
479
|
+
computeEffectiveResistances,
|
|
342
480
|
computeFuzzySimplicialSet,
|
|
343
481
|
computeHorvitzThompsonGamma,
|
|
344
482
|
computeKnnProbabilities,
|
|
345
483
|
computeMedian2hopPerplexity,
|
|
346
484
|
computeNodewise2hopPerplexities,
|
|
485
|
+
computePivotedRhghLandmarks,
|
|
347
486
|
computeRegularizedDogVaradhanLandmarks,
|
|
487
|
+
computeRegularizedDogVaradhanLandmarksFromMatrix,
|
|
348
488
|
computeResistanceEmbedding,
|
|
489
|
+
cqHac,
|
|
490
|
+
cqKmeans,
|
|
349
491
|
crossingEdges,
|
|
350
492
|
crossingEdgesTorus,
|
|
351
493
|
crossingSummary,
|
|
494
|
+
crosslessness,
|
|
352
495
|
cycleEdges,
|
|
496
|
+
daviesBouldinScore,
|
|
353
497
|
delaunayToCsr,
|
|
354
498
|
delaunayTriangulation,
|
|
355
499
|
dggPreservation,
|
|
500
|
+
distanceConsistency,
|
|
501
|
+
distributionConsistency,
|
|
356
502
|
drngPreservation,
|
|
357
503
|
edgeAngle,
|
|
358
504
|
evaluateMetrics,
|
|
359
505
|
extract1hop2hopCsr,
|
|
506
|
+
extractQuadrilateralBackbone,
|
|
360
507
|
extractSparse1hop2hopPairs,
|
|
361
508
|
findAbParams,
|
|
362
509
|
gabrielGraphEdges,
|
|
363
510
|
gabrielGraphPropertyV6,
|
|
364
511
|
generateLayeredConstraints,
|
|
512
|
+
graph12hopRowNormalizedProbabilities,
|
|
365
513
|
graphRowNormalizedProbabilities,
|
|
514
|
+
hde,
|
|
515
|
+
hdeNd,
|
|
366
516
|
idealEdgeLengthsV6,
|
|
367
517
|
idealEdgeLengthsWithUnit,
|
|
368
518
|
initSync,
|
|
369
519
|
kmeansPlusPlus,
|
|
370
520
|
korenSpectralInit,
|
|
371
521
|
labelPropagation,
|
|
372
|
-
|
|
522
|
+
landmarkStratifiedRta,
|
|
523
|
+
landmarkStratifiedRtaDetail,
|
|
524
|
+
landmarkStratifiedRtaFromLandmarks,
|
|
525
|
+
layoutDegeneracy,
|
|
526
|
+
leidenCommunities,
|
|
527
|
+
louvainCoarsen,
|
|
373
528
|
louvainCommunities,
|
|
529
|
+
minimumAngle,
|
|
530
|
+
minimumAngleSummary,
|
|
531
|
+
neighborhoodHit,
|
|
374
532
|
neighborhoodPreservation1Hop,
|
|
375
533
|
neighborhoodPreservation2HopV6,
|
|
376
534
|
nodeResolutionV6,
|
|
535
|
+
norMetrics,
|
|
536
|
+
norMetricsWithoutGraph,
|
|
377
537
|
normalizeLayout2d,
|
|
538
|
+
pairwiseDistanceOverlapError,
|
|
378
539
|
parseCsrCsv,
|
|
379
540
|
partialBfsKnn,
|
|
541
|
+
partitionAgreement,
|
|
380
542
|
pivotMdsInit,
|
|
381
543
|
poincareDistance,
|
|
544
|
+
poincareMobiusAdd,
|
|
382
545
|
prismDistortion,
|
|
383
546
|
prismDistortionWithEdges,
|
|
384
547
|
project1d,
|
|
385
548
|
projectClusteredLayout,
|
|
549
|
+
projectClusteredLayoutWithRadii,
|
|
386
550
|
projectClusteredRectangleNoOverlap2d,
|
|
387
551
|
projectLayoutAxis,
|
|
388
552
|
projectRectangleNoOverlap2d,
|
|
389
553
|
rdMds,
|
|
390
554
|
rectangleOverlaps,
|
|
555
|
+
refineClusterLayout,
|
|
391
556
|
relativeNeighborhoodEdges,
|
|
392
557
|
removeCycles,
|
|
393
558
|
representativeMds,
|
|
559
|
+
resistanceCurvatureFlow,
|
|
560
|
+
robustNormalizeLayout2d,
|
|
394
561
|
sampledCrossingNumber,
|
|
562
|
+
sampledCrosslessness,
|
|
395
563
|
sampledNp1,
|
|
396
564
|
sampledNp2,
|
|
397
565
|
sampledScaleNormalizedStress,
|
|
398
566
|
scaleNormalizedStress,
|
|
399
567
|
scaleNormalizedStressFromDistances,
|
|
400
568
|
selectMaxminSpPivots,
|
|
569
|
+
sepmeGab,
|
|
570
|
+
sepmeGong,
|
|
571
|
+
sepmeKnng,
|
|
572
|
+
sepmeRng,
|
|
401
573
|
setPanicHook,
|
|
574
|
+
silhouetteScore,
|
|
402
575
|
smallestLaplacianEigenpairs,
|
|
403
576
|
spectralClustering,
|
|
404
577
|
spectralMomentStats,
|
|
405
578
|
sphericalDistance,
|
|
579
|
+
sprawlterNn,
|
|
580
|
+
sprawlterNnRadii,
|
|
581
|
+
squarifiedTreemap,
|
|
406
582
|
sweepCrossingAngle,
|
|
407
583
|
sweepCrossingNumber,
|
|
408
584
|
symmetrizeRowNormalized,
|