egraph 6.0.0-alpha.7 → 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 +1349 -13
- package/pkg/egraph_wasm.js +7937 -3294
- package/pkg/egraph_wasm_bg.wasm +0 -0
- package/pkg/index.d.ts +1794 -35
- package/pkg/index.js +92 -0
package/pkg/index.js
CHANGED
|
@@ -6,6 +6,11 @@ import init, {
|
|
|
6
6
|
AmgPcgSolveResult,
|
|
7
7
|
AmgPcgSolver,
|
|
8
8
|
AnisotropicLaplacianResult,
|
|
9
|
+
BackboneResult,
|
|
10
|
+
BackboneSolver,
|
|
11
|
+
ClassDensityResult,
|
|
12
|
+
ClusterAreaReport,
|
|
13
|
+
ClusterRefineSolver,
|
|
9
14
|
CoarseBackboneResult,
|
|
10
15
|
CoarsenedGraphResult,
|
|
11
16
|
CoarsenedHierarchyResult,
|
|
@@ -20,7 +25,13 @@ import init, {
|
|
|
20
25
|
EigenResult,
|
|
21
26
|
FdebSolver,
|
|
22
27
|
FitFieldStats,
|
|
28
|
+
ForbidOverlapRemoval,
|
|
23
29
|
ForceAtlas2Solver,
|
|
30
|
+
FruchtermanReingoldSolver,
|
|
31
|
+
GTreeOverlapRemoval,
|
|
32
|
+
GemSolver,
|
|
33
|
+
GripSolver,
|
|
34
|
+
GroupInABoxSolver,
|
|
24
35
|
GuMapSolver,
|
|
25
36
|
HybridKnnResult,
|
|
26
37
|
IbUmapSolver,
|
|
@@ -29,11 +40,17 @@ import init, {
|
|
|
29
40
|
KnnGraph,
|
|
30
41
|
LargestConnectedComponentResult,
|
|
31
42
|
LayoutDegeneracy,
|
|
43
|
+
LeidenResult,
|
|
44
|
+
LinLogSolver,
|
|
32
45
|
LouvainResult,
|
|
33
46
|
ManifoldLayout2d,
|
|
47
|
+
MaxentStressSolver,
|
|
34
48
|
MetricReport,
|
|
35
49
|
MinimumAngleSummary,
|
|
50
|
+
NorMetricsResult,
|
|
36
51
|
PacmapBackboneResult,
|
|
52
|
+
PartitionAgreementResult,
|
|
53
|
+
PfsPrimeOverlapRemoval,
|
|
37
54
|
PrismDistortion,
|
|
38
55
|
PrismOverlapRemoval,
|
|
39
56
|
ResistanceCurvatureFlowResult,
|
|
@@ -43,7 +60,9 @@ import init, {
|
|
|
43
60
|
ScreenedPoissonField2d,
|
|
44
61
|
ScreenedPoissonRefiner,
|
|
45
62
|
ScreenedPoissonResult,
|
|
63
|
+
SelLayoutSolver,
|
|
46
64
|
SeparationConstraint,
|
|
65
|
+
SfcLayoutSolver,
|
|
47
66
|
SgdSolver,
|
|
48
67
|
Sparse12HopPairs,
|
|
49
68
|
SparseBarrierStats,
|
|
@@ -75,11 +94,15 @@ import init, {
|
|
|
75
94
|
buildHybridAdaptiveKnn,
|
|
76
95
|
buildPure2hopKnn,
|
|
77
96
|
buildRerankKnn,
|
|
97
|
+
calinskiHarabaszScore,
|
|
78
98
|
chebyshevDogJlEmbedding,
|
|
79
99
|
chebyshevDogJlEmbeddingMatrix,
|
|
80
100
|
chebyshevHeatSpmv,
|
|
81
101
|
chebyshevHeatSpmvMatrix,
|
|
102
|
+
classDensityMeasure,
|
|
82
103
|
classicalMds2d,
|
|
104
|
+
clusterAreaFaithfulness,
|
|
105
|
+
clusterAreaFaithfulnessDetail,
|
|
83
106
|
coarseBackboneInit,
|
|
84
107
|
coarsenGraph,
|
|
85
108
|
compute2hopNeighborhoodSizes,
|
|
@@ -94,18 +117,24 @@ import init, {
|
|
|
94
117
|
computeRegularizedDogVaradhanLandmarks,
|
|
95
118
|
computeRegularizedDogVaradhanLandmarksFromMatrix,
|
|
96
119
|
computeResistanceEmbedding,
|
|
120
|
+
cqHac,
|
|
121
|
+
cqKmeans,
|
|
97
122
|
crossingEdges,
|
|
98
123
|
crossingEdgesTorus,
|
|
99
124
|
crossingSummary,
|
|
100
125
|
crosslessness,
|
|
101
126
|
cycleEdges,
|
|
127
|
+
daviesBouldinScore,
|
|
102
128
|
delaunayToCsr,
|
|
103
129
|
delaunayTriangulation,
|
|
104
130
|
dggPreservation,
|
|
131
|
+
distanceConsistency,
|
|
132
|
+
distributionConsistency,
|
|
105
133
|
drngPreservation,
|
|
106
134
|
edgeAngle,
|
|
107
135
|
evaluateMetrics,
|
|
108
136
|
extract1hop2hopCsr,
|
|
137
|
+
extractQuadrilateralBackbone,
|
|
109
138
|
extractSparse1hop2hopPairs,
|
|
110
139
|
findAbParams,
|
|
111
140
|
gabrielGraphEdges,
|
|
@@ -113,6 +142,8 @@ import init, {
|
|
|
113
142
|
generateLayeredConstraints,
|
|
114
143
|
graph12hopRowNormalizedProbabilities,
|
|
115
144
|
graphRowNormalizedProbabilities,
|
|
145
|
+
hde,
|
|
146
|
+
hdeNd,
|
|
116
147
|
idealEdgeLengthsV6,
|
|
117
148
|
idealEdgeLengthsWithUnit,
|
|
118
149
|
initSync,
|
|
@@ -123,16 +154,22 @@ import init, {
|
|
|
123
154
|
landmarkStratifiedRtaDetail,
|
|
124
155
|
landmarkStratifiedRtaFromLandmarks,
|
|
125
156
|
layoutDegeneracy,
|
|
157
|
+
leidenCommunities,
|
|
126
158
|
louvainCoarsen,
|
|
127
159
|
louvainCommunities,
|
|
128
160
|
minimumAngle,
|
|
129
161
|
minimumAngleSummary,
|
|
162
|
+
neighborhoodHit,
|
|
130
163
|
neighborhoodPreservation1Hop,
|
|
131
164
|
neighborhoodPreservation2HopV6,
|
|
132
165
|
nodeResolutionV6,
|
|
166
|
+
norMetrics,
|
|
167
|
+
norMetricsWithoutGraph,
|
|
133
168
|
normalizeLayout2d,
|
|
169
|
+
pairwiseDistanceOverlapError,
|
|
134
170
|
parseCsrCsv,
|
|
135
171
|
partialBfsKnn,
|
|
172
|
+
partitionAgreement,
|
|
136
173
|
pivotMdsInit,
|
|
137
174
|
poincareDistance,
|
|
138
175
|
poincareMobiusAdd,
|
|
@@ -146,6 +183,7 @@ import init, {
|
|
|
146
183
|
projectRectangleNoOverlap2d,
|
|
147
184
|
rdMds,
|
|
148
185
|
rectangleOverlaps,
|
|
186
|
+
refineClusterLayout,
|
|
149
187
|
relativeNeighborhoodEdges,
|
|
150
188
|
removeCycles,
|
|
151
189
|
representativeMds,
|
|
@@ -159,11 +197,19 @@ import init, {
|
|
|
159
197
|
scaleNormalizedStress,
|
|
160
198
|
scaleNormalizedStressFromDistances,
|
|
161
199
|
selectMaxminSpPivots,
|
|
200
|
+
sepmeGab,
|
|
201
|
+
sepmeGong,
|
|
202
|
+
sepmeKnng,
|
|
203
|
+
sepmeRng,
|
|
162
204
|
setPanicHook,
|
|
205
|
+
silhouetteScore,
|
|
163
206
|
smallestLaplacianEigenpairs,
|
|
164
207
|
spectralClustering,
|
|
165
208
|
spectralMomentStats,
|
|
166
209
|
sphericalDistance,
|
|
210
|
+
sprawlterNn,
|
|
211
|
+
sprawlterNnRadii,
|
|
212
|
+
squarifiedTreemap,
|
|
167
213
|
sweepCrossingAngle,
|
|
168
214
|
sweepCrossingNumber,
|
|
169
215
|
symmetrizeRowNormalized,
|
|
@@ -329,6 +375,11 @@ export {
|
|
|
329
375
|
AmgPcgSolveResult,
|
|
330
376
|
AmgPcgSolver,
|
|
331
377
|
AnisotropicLaplacianResult,
|
|
378
|
+
BackboneResult,
|
|
379
|
+
BackboneSolver,
|
|
380
|
+
ClassDensityResult,
|
|
381
|
+
ClusterAreaReport,
|
|
382
|
+
ClusterRefineSolver,
|
|
332
383
|
CoarseBackboneResult,
|
|
333
384
|
CoarsenedGraphResult,
|
|
334
385
|
CoarsenedHierarchyResult,
|
|
@@ -343,7 +394,13 @@ export {
|
|
|
343
394
|
EigenResult,
|
|
344
395
|
FdebSolver,
|
|
345
396
|
FitFieldStats,
|
|
397
|
+
ForbidOverlapRemoval,
|
|
346
398
|
ForceAtlas2Solver,
|
|
399
|
+
FruchtermanReingoldSolver,
|
|
400
|
+
GTreeOverlapRemoval,
|
|
401
|
+
GemSolver,
|
|
402
|
+
GripSolver,
|
|
403
|
+
GroupInABoxSolver,
|
|
347
404
|
GuMapSolver,
|
|
348
405
|
HybridKnnResult,
|
|
349
406
|
IbUmapSolver,
|
|
@@ -352,11 +409,17 @@ export {
|
|
|
352
409
|
KnnGraph,
|
|
353
410
|
LargestConnectedComponentResult,
|
|
354
411
|
LayoutDegeneracy,
|
|
412
|
+
LeidenResult,
|
|
413
|
+
LinLogSolver,
|
|
355
414
|
LouvainResult,
|
|
356
415
|
ManifoldLayout2d,
|
|
416
|
+
MaxentStressSolver,
|
|
357
417
|
MetricReport,
|
|
358
418
|
MinimumAngleSummary,
|
|
419
|
+
NorMetricsResult,
|
|
359
420
|
PacmapBackboneResult,
|
|
421
|
+
PartitionAgreementResult,
|
|
422
|
+
PfsPrimeOverlapRemoval,
|
|
360
423
|
PrismDistortion,
|
|
361
424
|
PrismOverlapRemoval,
|
|
362
425
|
ResistanceCurvatureFlowResult,
|
|
@@ -366,7 +429,9 @@ export {
|
|
|
366
429
|
ScreenedPoissonField2d,
|
|
367
430
|
ScreenedPoissonRefiner,
|
|
368
431
|
ScreenedPoissonResult,
|
|
432
|
+
SelLayoutSolver,
|
|
369
433
|
SeparationConstraint,
|
|
434
|
+
SfcLayoutSolver,
|
|
370
435
|
SgdSolver,
|
|
371
436
|
Sparse12HopPairs,
|
|
372
437
|
SparseBarrierStats,
|
|
@@ -398,11 +463,15 @@ export {
|
|
|
398
463
|
buildHybridAdaptiveKnn,
|
|
399
464
|
buildPure2hopKnn,
|
|
400
465
|
buildRerankKnn,
|
|
466
|
+
calinskiHarabaszScore,
|
|
401
467
|
chebyshevDogJlEmbedding,
|
|
402
468
|
chebyshevDogJlEmbeddingMatrix,
|
|
403
469
|
chebyshevHeatSpmv,
|
|
404
470
|
chebyshevHeatSpmvMatrix,
|
|
471
|
+
classDensityMeasure,
|
|
405
472
|
classicalMds2d,
|
|
473
|
+
clusterAreaFaithfulness,
|
|
474
|
+
clusterAreaFaithfulnessDetail,
|
|
406
475
|
coarseBackboneInit,
|
|
407
476
|
coarsenGraph,
|
|
408
477
|
compute2hopNeighborhoodSizes,
|
|
@@ -417,18 +486,24 @@ export {
|
|
|
417
486
|
computeRegularizedDogVaradhanLandmarks,
|
|
418
487
|
computeRegularizedDogVaradhanLandmarksFromMatrix,
|
|
419
488
|
computeResistanceEmbedding,
|
|
489
|
+
cqHac,
|
|
490
|
+
cqKmeans,
|
|
420
491
|
crossingEdges,
|
|
421
492
|
crossingEdgesTorus,
|
|
422
493
|
crossingSummary,
|
|
423
494
|
crosslessness,
|
|
424
495
|
cycleEdges,
|
|
496
|
+
daviesBouldinScore,
|
|
425
497
|
delaunayToCsr,
|
|
426
498
|
delaunayTriangulation,
|
|
427
499
|
dggPreservation,
|
|
500
|
+
distanceConsistency,
|
|
501
|
+
distributionConsistency,
|
|
428
502
|
drngPreservation,
|
|
429
503
|
edgeAngle,
|
|
430
504
|
evaluateMetrics,
|
|
431
505
|
extract1hop2hopCsr,
|
|
506
|
+
extractQuadrilateralBackbone,
|
|
432
507
|
extractSparse1hop2hopPairs,
|
|
433
508
|
findAbParams,
|
|
434
509
|
gabrielGraphEdges,
|
|
@@ -436,6 +511,8 @@ export {
|
|
|
436
511
|
generateLayeredConstraints,
|
|
437
512
|
graph12hopRowNormalizedProbabilities,
|
|
438
513
|
graphRowNormalizedProbabilities,
|
|
514
|
+
hde,
|
|
515
|
+
hdeNd,
|
|
439
516
|
idealEdgeLengthsV6,
|
|
440
517
|
idealEdgeLengthsWithUnit,
|
|
441
518
|
initSync,
|
|
@@ -446,16 +523,22 @@ export {
|
|
|
446
523
|
landmarkStratifiedRtaDetail,
|
|
447
524
|
landmarkStratifiedRtaFromLandmarks,
|
|
448
525
|
layoutDegeneracy,
|
|
526
|
+
leidenCommunities,
|
|
449
527
|
louvainCoarsen,
|
|
450
528
|
louvainCommunities,
|
|
451
529
|
minimumAngle,
|
|
452
530
|
minimumAngleSummary,
|
|
531
|
+
neighborhoodHit,
|
|
453
532
|
neighborhoodPreservation1Hop,
|
|
454
533
|
neighborhoodPreservation2HopV6,
|
|
455
534
|
nodeResolutionV6,
|
|
535
|
+
norMetrics,
|
|
536
|
+
norMetricsWithoutGraph,
|
|
456
537
|
normalizeLayout2d,
|
|
538
|
+
pairwiseDistanceOverlapError,
|
|
457
539
|
parseCsrCsv,
|
|
458
540
|
partialBfsKnn,
|
|
541
|
+
partitionAgreement,
|
|
459
542
|
pivotMdsInit,
|
|
460
543
|
poincareDistance,
|
|
461
544
|
poincareMobiusAdd,
|
|
@@ -469,6 +552,7 @@ export {
|
|
|
469
552
|
projectRectangleNoOverlap2d,
|
|
470
553
|
rdMds,
|
|
471
554
|
rectangleOverlaps,
|
|
555
|
+
refineClusterLayout,
|
|
472
556
|
relativeNeighborhoodEdges,
|
|
473
557
|
removeCycles,
|
|
474
558
|
representativeMds,
|
|
@@ -482,11 +566,19 @@ export {
|
|
|
482
566
|
scaleNormalizedStress,
|
|
483
567
|
scaleNormalizedStressFromDistances,
|
|
484
568
|
selectMaxminSpPivots,
|
|
569
|
+
sepmeGab,
|
|
570
|
+
sepmeGong,
|
|
571
|
+
sepmeKnng,
|
|
572
|
+
sepmeRng,
|
|
485
573
|
setPanicHook,
|
|
574
|
+
silhouetteScore,
|
|
486
575
|
smallestLaplacianEigenpairs,
|
|
487
576
|
spectralClustering,
|
|
488
577
|
spectralMomentStats,
|
|
489
578
|
sphericalDistance,
|
|
579
|
+
sprawlterNn,
|
|
580
|
+
sprawlterNnRadii,
|
|
581
|
+
squarifiedTreemap,
|
|
490
582
|
sweepCrossingAngle,
|
|
491
583
|
sweepCrossingNumber,
|
|
492
584
|
symmetrizeRowNormalized,
|