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