egraph 6.0.0-alpha.5 → 6.0.0-alpha.7
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 +1624 -139
- package/pkg/egraph_wasm.js +6752 -2235
- package/pkg/egraph_wasm_bg.wasm +0 -0
- package/pkg/index.d.ts +1757 -102
- package/pkg/index.js +94 -2
package/pkg/index.js
CHANGED
|
@@ -2,13 +2,21 @@
|
|
|
2
2
|
import init, {
|
|
3
3
|
Layout2d as _Layout2d,
|
|
4
4
|
LayoutNd as _LayoutNd,
|
|
5
|
+
AmgPcgBatchResult,
|
|
6
|
+
AmgPcgSolveResult,
|
|
7
|
+
AmgPcgSolver,
|
|
8
|
+
AnisotropicLaplacianResult,
|
|
9
|
+
CoarseBackboneResult,
|
|
5
10
|
CoarsenedGraphResult,
|
|
11
|
+
CoarsenedHierarchyResult,
|
|
6
12
|
CrossingPair,
|
|
7
13
|
CrossingSummary,
|
|
8
14
|
CsrGraph,
|
|
15
|
+
CsrMatrix,
|
|
9
16
|
DelaunayResult,
|
|
10
17
|
DogStats,
|
|
11
18
|
DogVaradhanLandmarks,
|
|
19
|
+
EffectiveResistanceResult,
|
|
12
20
|
EigenResult,
|
|
13
21
|
FdebSolver,
|
|
14
22
|
FitFieldStats,
|
|
@@ -20,13 +28,24 @@ import init, {
|
|
|
20
28
|
KamadaKawaiSolver,
|
|
21
29
|
KnnGraph,
|
|
22
30
|
LargestConnectedComponentResult,
|
|
31
|
+
LayoutDegeneracy,
|
|
23
32
|
LouvainResult,
|
|
24
33
|
ManifoldLayout2d,
|
|
25
34
|
MetricReport,
|
|
35
|
+
MinimumAngleSummary,
|
|
36
|
+
PacmapBackboneResult,
|
|
26
37
|
PrismDistortion,
|
|
27
38
|
PrismOverlapRemoval,
|
|
39
|
+
ResistanceCurvatureFlowResult,
|
|
40
|
+
ResistanceCurvatureStep,
|
|
41
|
+
RhghLandmarksResult,
|
|
42
|
+
RtaEvaluation,
|
|
43
|
+
ScreenedPoissonField2d,
|
|
44
|
+
ScreenedPoissonRefiner,
|
|
45
|
+
ScreenedPoissonResult,
|
|
28
46
|
SeparationConstraint,
|
|
29
47
|
SgdSolver,
|
|
48
|
+
Sparse12HopPairs,
|
|
30
49
|
SparseBarrierStats,
|
|
31
50
|
SparseProbabilities,
|
|
32
51
|
SpatialIntruderRefiner,
|
|
@@ -41,32 +60,44 @@ import init, {
|
|
|
41
60
|
TwoHopCsr,
|
|
42
61
|
TwoHopKnnResult,
|
|
43
62
|
YifanHuSolver,
|
|
63
|
+
adjustedPatchNig,
|
|
64
|
+
adjustedPatchNigMultiscale,
|
|
65
|
+
alignClusteredCentroids,
|
|
44
66
|
allPairsBfs,
|
|
45
67
|
angularResolutionV6,
|
|
68
|
+
anisotropicLaplacian,
|
|
46
69
|
applyRelativeDistanceFloor,
|
|
47
70
|
aspectRatioV6,
|
|
48
71
|
assignLayers,
|
|
49
72
|
bfsSingleSource,
|
|
73
|
+
buildCapped12hopKnn,
|
|
50
74
|
buildGumap12hopPriorityCsr,
|
|
51
75
|
buildHybridAdaptiveKnn,
|
|
52
76
|
buildPure2hopKnn,
|
|
53
77
|
buildRerankKnn,
|
|
54
78
|
chebyshevDogJlEmbedding,
|
|
79
|
+
chebyshevDogJlEmbeddingMatrix,
|
|
55
80
|
chebyshevHeatSpmv,
|
|
81
|
+
chebyshevHeatSpmvMatrix,
|
|
56
82
|
classicalMds2d,
|
|
83
|
+
coarseBackboneInit,
|
|
57
84
|
coarsenGraph,
|
|
58
85
|
compute2hopNeighborhoodSizes,
|
|
59
86
|
computeDiffusionEmbedding,
|
|
87
|
+
computeEffectiveResistances,
|
|
60
88
|
computeFuzzySimplicialSet,
|
|
61
89
|
computeHorvitzThompsonGamma,
|
|
62
90
|
computeKnnProbabilities,
|
|
63
91
|
computeMedian2hopPerplexity,
|
|
64
92
|
computeNodewise2hopPerplexities,
|
|
93
|
+
computePivotedRhghLandmarks,
|
|
65
94
|
computeRegularizedDogVaradhanLandmarks,
|
|
95
|
+
computeRegularizedDogVaradhanLandmarksFromMatrix,
|
|
66
96
|
computeResistanceEmbedding,
|
|
67
97
|
crossingEdges,
|
|
68
98
|
crossingEdgesTorus,
|
|
69
99
|
crossingSummary,
|
|
100
|
+
crosslessness,
|
|
70
101
|
cycleEdges,
|
|
71
102
|
delaunayToCsr,
|
|
72
103
|
delaunayTriangulation,
|
|
@@ -75,10 +106,12 @@ import init, {
|
|
|
75
106
|
edgeAngle,
|
|
76
107
|
evaluateMetrics,
|
|
77
108
|
extract1hop2hopCsr,
|
|
109
|
+
extractSparse1hop2hopPairs,
|
|
78
110
|
findAbParams,
|
|
79
111
|
gabrielGraphEdges,
|
|
80
112
|
gabrielGraphPropertyV6,
|
|
81
113
|
generateLayeredConstraints,
|
|
114
|
+
graph12hopRowNormalizedProbabilities,
|
|
82
115
|
graphRowNormalizedProbabilities,
|
|
83
116
|
idealEdgeLengthsV6,
|
|
84
117
|
idealEdgeLengthsWithUnit,
|
|
@@ -86,8 +119,14 @@ import init, {
|
|
|
86
119
|
kmeansPlusPlus,
|
|
87
120
|
korenSpectralInit,
|
|
88
121
|
labelPropagation,
|
|
89
|
-
|
|
122
|
+
landmarkStratifiedRta,
|
|
123
|
+
landmarkStratifiedRtaDetail,
|
|
124
|
+
landmarkStratifiedRtaFromLandmarks,
|
|
125
|
+
layoutDegeneracy,
|
|
126
|
+
louvainCoarsen,
|
|
90
127
|
louvainCommunities,
|
|
128
|
+
minimumAngle,
|
|
129
|
+
minimumAngleSummary,
|
|
91
130
|
neighborhoodPreservation1Hop,
|
|
92
131
|
neighborhoodPreservation2HopV6,
|
|
93
132
|
nodeResolutionV6,
|
|
@@ -96,10 +135,12 @@ import init, {
|
|
|
96
135
|
partialBfsKnn,
|
|
97
136
|
pivotMdsInit,
|
|
98
137
|
poincareDistance,
|
|
138
|
+
poincareMobiusAdd,
|
|
99
139
|
prismDistortion,
|
|
100
140
|
prismDistortionWithEdges,
|
|
101
141
|
project1d,
|
|
102
142
|
projectClusteredLayout,
|
|
143
|
+
projectClusteredLayoutWithRadii,
|
|
103
144
|
projectClusteredRectangleNoOverlap2d,
|
|
104
145
|
projectLayoutAxis,
|
|
105
146
|
projectRectangleNoOverlap2d,
|
|
@@ -108,7 +149,12 @@ import init, {
|
|
|
108
149
|
relativeNeighborhoodEdges,
|
|
109
150
|
removeCycles,
|
|
110
151
|
representativeMds,
|
|
152
|
+
resistanceCurvatureFlow,
|
|
153
|
+
robustNormalizeLayout2d,
|
|
111
154
|
sampledCrossingNumber,
|
|
155
|
+
sampledCrosslessness,
|
|
156
|
+
sampledNp1,
|
|
157
|
+
sampledNp2,
|
|
112
158
|
sampledScaleNormalizedStress,
|
|
113
159
|
scaleNormalizedStress,
|
|
114
160
|
scaleNormalizedStressFromDistances,
|
|
@@ -279,13 +325,21 @@ export function runProgressive(solver, layout, onFrame, options = {}) {
|
|
|
279
325
|
export const Layout2d = attachCoordsView(_Layout2d);
|
|
280
326
|
export const LayoutNd = attachCoordsView(_LayoutNd);
|
|
281
327
|
export {
|
|
328
|
+
AmgPcgBatchResult,
|
|
329
|
+
AmgPcgSolveResult,
|
|
330
|
+
AmgPcgSolver,
|
|
331
|
+
AnisotropicLaplacianResult,
|
|
332
|
+
CoarseBackboneResult,
|
|
282
333
|
CoarsenedGraphResult,
|
|
334
|
+
CoarsenedHierarchyResult,
|
|
283
335
|
CrossingPair,
|
|
284
336
|
CrossingSummary,
|
|
285
337
|
CsrGraph,
|
|
338
|
+
CsrMatrix,
|
|
286
339
|
DelaunayResult,
|
|
287
340
|
DogStats,
|
|
288
341
|
DogVaradhanLandmarks,
|
|
342
|
+
EffectiveResistanceResult,
|
|
289
343
|
EigenResult,
|
|
290
344
|
FdebSolver,
|
|
291
345
|
FitFieldStats,
|
|
@@ -297,13 +351,24 @@ export {
|
|
|
297
351
|
KamadaKawaiSolver,
|
|
298
352
|
KnnGraph,
|
|
299
353
|
LargestConnectedComponentResult,
|
|
354
|
+
LayoutDegeneracy,
|
|
300
355
|
LouvainResult,
|
|
301
356
|
ManifoldLayout2d,
|
|
302
357
|
MetricReport,
|
|
358
|
+
MinimumAngleSummary,
|
|
359
|
+
PacmapBackboneResult,
|
|
303
360
|
PrismDistortion,
|
|
304
361
|
PrismOverlapRemoval,
|
|
362
|
+
ResistanceCurvatureFlowResult,
|
|
363
|
+
ResistanceCurvatureStep,
|
|
364
|
+
RhghLandmarksResult,
|
|
365
|
+
RtaEvaluation,
|
|
366
|
+
ScreenedPoissonField2d,
|
|
367
|
+
ScreenedPoissonRefiner,
|
|
368
|
+
ScreenedPoissonResult,
|
|
305
369
|
SeparationConstraint,
|
|
306
370
|
SgdSolver,
|
|
371
|
+
Sparse12HopPairs,
|
|
307
372
|
SparseBarrierStats,
|
|
308
373
|
SparseProbabilities,
|
|
309
374
|
SpatialIntruderRefiner,
|
|
@@ -318,32 +383,44 @@ export {
|
|
|
318
383
|
TwoHopCsr,
|
|
319
384
|
TwoHopKnnResult,
|
|
320
385
|
YifanHuSolver,
|
|
386
|
+
adjustedPatchNig,
|
|
387
|
+
adjustedPatchNigMultiscale,
|
|
388
|
+
alignClusteredCentroids,
|
|
321
389
|
allPairsBfs,
|
|
322
390
|
angularResolutionV6,
|
|
391
|
+
anisotropicLaplacian,
|
|
323
392
|
applyRelativeDistanceFloor,
|
|
324
393
|
aspectRatioV6,
|
|
325
394
|
assignLayers,
|
|
326
395
|
bfsSingleSource,
|
|
396
|
+
buildCapped12hopKnn,
|
|
327
397
|
buildGumap12hopPriorityCsr,
|
|
328
398
|
buildHybridAdaptiveKnn,
|
|
329
399
|
buildPure2hopKnn,
|
|
330
400
|
buildRerankKnn,
|
|
331
401
|
chebyshevDogJlEmbedding,
|
|
402
|
+
chebyshevDogJlEmbeddingMatrix,
|
|
332
403
|
chebyshevHeatSpmv,
|
|
404
|
+
chebyshevHeatSpmvMatrix,
|
|
333
405
|
classicalMds2d,
|
|
406
|
+
coarseBackboneInit,
|
|
334
407
|
coarsenGraph,
|
|
335
408
|
compute2hopNeighborhoodSizes,
|
|
336
409
|
computeDiffusionEmbedding,
|
|
410
|
+
computeEffectiveResistances,
|
|
337
411
|
computeFuzzySimplicialSet,
|
|
338
412
|
computeHorvitzThompsonGamma,
|
|
339
413
|
computeKnnProbabilities,
|
|
340
414
|
computeMedian2hopPerplexity,
|
|
341
415
|
computeNodewise2hopPerplexities,
|
|
416
|
+
computePivotedRhghLandmarks,
|
|
342
417
|
computeRegularizedDogVaradhanLandmarks,
|
|
418
|
+
computeRegularizedDogVaradhanLandmarksFromMatrix,
|
|
343
419
|
computeResistanceEmbedding,
|
|
344
420
|
crossingEdges,
|
|
345
421
|
crossingEdgesTorus,
|
|
346
422
|
crossingSummary,
|
|
423
|
+
crosslessness,
|
|
347
424
|
cycleEdges,
|
|
348
425
|
delaunayToCsr,
|
|
349
426
|
delaunayTriangulation,
|
|
@@ -352,10 +429,12 @@ export {
|
|
|
352
429
|
edgeAngle,
|
|
353
430
|
evaluateMetrics,
|
|
354
431
|
extract1hop2hopCsr,
|
|
432
|
+
extractSparse1hop2hopPairs,
|
|
355
433
|
findAbParams,
|
|
356
434
|
gabrielGraphEdges,
|
|
357
435
|
gabrielGraphPropertyV6,
|
|
358
436
|
generateLayeredConstraints,
|
|
437
|
+
graph12hopRowNormalizedProbabilities,
|
|
359
438
|
graphRowNormalizedProbabilities,
|
|
360
439
|
idealEdgeLengthsV6,
|
|
361
440
|
idealEdgeLengthsWithUnit,
|
|
@@ -363,8 +442,14 @@ export {
|
|
|
363
442
|
kmeansPlusPlus,
|
|
364
443
|
korenSpectralInit,
|
|
365
444
|
labelPropagation,
|
|
366
|
-
|
|
445
|
+
landmarkStratifiedRta,
|
|
446
|
+
landmarkStratifiedRtaDetail,
|
|
447
|
+
landmarkStratifiedRtaFromLandmarks,
|
|
448
|
+
layoutDegeneracy,
|
|
449
|
+
louvainCoarsen,
|
|
367
450
|
louvainCommunities,
|
|
451
|
+
minimumAngle,
|
|
452
|
+
minimumAngleSummary,
|
|
368
453
|
neighborhoodPreservation1Hop,
|
|
369
454
|
neighborhoodPreservation2HopV6,
|
|
370
455
|
nodeResolutionV6,
|
|
@@ -373,10 +458,12 @@ export {
|
|
|
373
458
|
partialBfsKnn,
|
|
374
459
|
pivotMdsInit,
|
|
375
460
|
poincareDistance,
|
|
461
|
+
poincareMobiusAdd,
|
|
376
462
|
prismDistortion,
|
|
377
463
|
prismDistortionWithEdges,
|
|
378
464
|
project1d,
|
|
379
465
|
projectClusteredLayout,
|
|
466
|
+
projectClusteredLayoutWithRadii,
|
|
380
467
|
projectClusteredRectangleNoOverlap2d,
|
|
381
468
|
projectLayoutAxis,
|
|
382
469
|
projectRectangleNoOverlap2d,
|
|
@@ -385,7 +472,12 @@ export {
|
|
|
385
472
|
relativeNeighborhoodEdges,
|
|
386
473
|
removeCycles,
|
|
387
474
|
representativeMds,
|
|
475
|
+
resistanceCurvatureFlow,
|
|
476
|
+
robustNormalizeLayout2d,
|
|
388
477
|
sampledCrossingNumber,
|
|
478
|
+
sampledCrosslessness,
|
|
479
|
+
sampledNp1,
|
|
480
|
+
sampledNp2,
|
|
389
481
|
sampledScaleNormalizedStress,
|
|
390
482
|
scaleNormalizedStress,
|
|
391
483
|
scaleNormalizedStressFromDistances,
|