@graphty/webgpu-graph-algorithms 0.6.11 → 0.6.13
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.
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Types only: this file imports nothing at runtime.
|
|
7
7
|
*
|
|
8
8
|
* The CPU counterparts, in `@graphty/algorithms`' `indexed/accelerator.ts` since the seam landed:
|
|
9
|
-
* `PageRankOptions` here is `
|
|
9
|
+
* `PageRankOptions` here is `PageRankOptionsLike` there (`{ dampingFactor?, maxIterations?, tolerance?,
|
|
10
10
|
* weighted? }`); `HitsOptions`, `EigenvectorOptions` and `KatzOptions` here all correspond to the ONE
|
|
11
11
|
* `HitsOptionsLike` there (`{ maxIterations?, tolerance?, weighted? }`), which is why every one of them carries
|
|
12
12
|
* those three members and `KatzOptions` adds `alpha` / `beta` on top; `ComponentsOptions` has no CPU counterpart at
|
|
@@ -40,7 +40,7 @@ export interface GpuLabelResult {
|
|
|
40
40
|
readonly count: number;
|
|
41
41
|
groups(): U32[];
|
|
42
42
|
}
|
|
43
|
-
/** The CPU seam's
|
|
43
|
+
/** The CPU seam's PageRankOptionsLike, member for member (M8a Task M8a-T8; graph-format design 14.2 :3892). */
|
|
44
44
|
export interface PageRankOptions {
|
|
45
45
|
readonly dampingFactor?: number | undefined;
|
|
46
46
|
readonly maxIterations?: number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"algorithms.d.ts","sourceRoot":"","sources":["../../../src/types/algorithms.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAEtD,2GAA2G;AAC3G,MAAM,WAAW,eAAe;IAC5B,QAAQ,CAAC,MAAM,EAAE,GAAG,CAAC;IACrB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,SAAS,EAAE,OAAO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;IACnC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5C,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC3C;AAED,sHAAsH;AACtH,MAAM,WAAW,iBAAiB;IAC9B,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC3C"}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Types only: this file imports nothing at runtime.
|
|
7
7
|
*
|
|
8
8
|
* The CPU counterparts, in `@graphty/algorithms`' `indexed/accelerator.ts` since the seam landed:
|
|
9
|
-
* `PageRankOptions` here is `
|
|
9
|
+
* `PageRankOptions` here is `PageRankOptionsLike` there (`{ dampingFactor?, maxIterations?, tolerance?,
|
|
10
10
|
* weighted? }`); `HitsOptions`, `EigenvectorOptions` and `KatzOptions` here all correspond to the ONE
|
|
11
11
|
* `HitsOptionsLike` there (`{ maxIterations?, tolerance?, weighted? }`), which is why every one of them carries
|
|
12
12
|
* those three members and `KatzOptions` adds `alpha` / `beta` on top; `ComponentsOptions` has no CPU counterpart at
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphty/webgpu-graph-algorithms",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.13",
|
|
4
4
|
"description": "WebGPU-accelerated graph algorithms and layouts over the @graphty/graph-format snapshot, for Node (Dawn) and browsers",
|
|
5
5
|
"author": "Adam Powers <apowers@ato.ms>",
|
|
6
6
|
"type": "module",
|
|
@@ -61,12 +61,12 @@
|
|
|
61
61
|
"homepage": "https://github.com/graphty-org/graphty-monorepo/tree/master/webgpu-graph-algorithms#readme",
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@webgpu/types": "^0.1.72",
|
|
64
|
-
"@graphty/graph-format": "^1.
|
|
64
|
+
"@graphty/graph-format": "^1.2.0"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
67
|
"@graphty/algorithms": "^1.0.0 || ^2.0.0",
|
|
68
68
|
"@graphty/graph-format": "^1.0.0",
|
|
69
|
-
"@graphty/layout": "^1.7.0",
|
|
69
|
+
"@graphty/layout": "^1.7.0 || ^2.0.0",
|
|
70
70
|
"webgpu": ">=0.4.0 <1.0.0"
|
|
71
71
|
},
|
|
72
72
|
"peerDependenciesMeta": {
|
|
@@ -95,8 +95,8 @@
|
|
|
95
95
|
"vite": "^7.0.5",
|
|
96
96
|
"vitest": "4.1.11",
|
|
97
97
|
"webgpu": "0.4.0",
|
|
98
|
-
"@graphty/algorithms": "^2.
|
|
99
|
-
"@graphty/layout": "^
|
|
98
|
+
"@graphty/algorithms": "^2.2.0",
|
|
99
|
+
"@graphty/layout": "^2.0.0"
|
|
100
100
|
},
|
|
101
101
|
"scripts": {
|
|
102
102
|
"build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.build.json",
|
package/src/types/algorithms.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Types only: this file imports nothing at runtime.
|
|
7
7
|
*
|
|
8
8
|
* The CPU counterparts, in `@graphty/algorithms`' `indexed/accelerator.ts` since the seam landed:
|
|
9
|
-
* `PageRankOptions` here is `
|
|
9
|
+
* `PageRankOptions` here is `PageRankOptionsLike` there (`{ dampingFactor?, maxIterations?, tolerance?,
|
|
10
10
|
* weighted? }`); `HitsOptions`, `EigenvectorOptions` and `KatzOptions` here all correspond to the ONE
|
|
11
11
|
* `HitsOptionsLike` there (`{ maxIterations?, tolerance?, weighted? }`), which is why every one of them carries
|
|
12
12
|
* those three members and `KatzOptions` adds `alpha` / `beta` on top; `ComponentsOptions` has no CPU counterpart at
|
|
@@ -46,7 +46,7 @@ export interface GpuLabelResult {
|
|
|
46
46
|
groups(): U32[];
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
/** The CPU seam's
|
|
49
|
+
/** The CPU seam's PageRankOptionsLike, member for member (M8a Task M8a-T8; graph-format design 14.2 :3892). */
|
|
50
50
|
export interface PageRankOptions {
|
|
51
51
|
readonly dampingFactor?: number | undefined;
|
|
52
52
|
readonly maxIterations?: number | undefined;
|