@graphty/cytoscape-extensions 0.0.3 → 0.0.4
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 +7 -7
- package/src/algorithms.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphty/cytoscape-extensions",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "Graphty layouts, algorithms, graph generators, sample datasets and file import/export as Cytoscape.js extensions",
|
|
5
5
|
"author": "Adam Powers <apowers@ato.ms>",
|
|
6
6
|
"type": "module",
|
|
@@ -71,9 +71,9 @@
|
|
|
71
71
|
},
|
|
72
72
|
"homepage": "https://github.com/graphty-org/graphty-monorepo/tree/master/cytoscape-extensions#readme",
|
|
73
73
|
"dependencies": {
|
|
74
|
-
"@graphty/graph-
|
|
75
|
-
"@graphty/graph-samples": "^0.1.
|
|
76
|
-
"@graphty/
|
|
74
|
+
"@graphty/webgpu-graph-algorithms": "^0.6.40",
|
|
75
|
+
"@graphty/graph-samples": "^0.1.24",
|
|
76
|
+
"@graphty/graph-io": "^0.3.31"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
79
79
|
"@graphty/algorithms": "^3.0.0",
|
|
@@ -102,9 +102,9 @@
|
|
|
102
102
|
"typescript": "^5.9.3",
|
|
103
103
|
"vite": "^7.0.5",
|
|
104
104
|
"vitest": "4.1.11",
|
|
105
|
-
"@graphty/algorithms": "^3.3.
|
|
106
|
-
"@graphty/
|
|
107
|
-
"@graphty/
|
|
105
|
+
"@graphty/algorithms": "^3.3.11",
|
|
106
|
+
"@graphty/layout": "^2.2.12",
|
|
107
|
+
"@graphty/graph-format": "^1.3.9"
|
|
108
108
|
},
|
|
109
109
|
"scripts": {
|
|
110
110
|
"build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.build.json && vite build --config vite.bundle.config.ts --mode cdn --logLevel warn && vite build --config vite.bundle.config.ts --logLevel warn",
|
package/src/algorithms.ts
CHANGED
|
@@ -1481,8 +1481,8 @@ const IMPLS = {
|
|
|
1481
1481
|
o: WeightedFlag<LabelPropagationOptions> & {
|
|
1482
1482
|
/**
|
|
1483
1483
|
* Seed labels: the node data field holding them (nodes without it are free), or one selection per label.
|
|
1484
|
-
*
|
|
1485
|
-
*
|
|
1484
|
+
* Free nodes start unlabeled and take a seed label when one reaches them, so every node connected to a seed
|
|
1485
|
+
* ends in a seed's cluster. Each connected group of nodes no seed reaches becomes a cluster of its own.
|
|
1486
1486
|
*/
|
|
1487
1487
|
readonly seeds: string | readonly NodeSelection[];
|
|
1488
1488
|
},
|