@vitessce/scatterplot 3.3.4 → 3.3.6
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/dist/{deflate-6648ad3a.js → deflate-62dd713f.js} +1 -1
- package/dist/{index-86f813a6.js → index-fe788b76.js} +606 -622
- package/dist/index.js +1 -1
- package/dist/{jpeg-58016a69.js → jpeg-9ce29aa3.js} +1 -1
- package/dist/{lerc-1041e73a.js → lerc-ee9b7cbb.js} +1 -1
- package/dist/{lzw-b4cd83f4.js → lzw-b4b8bbeb.js} +1 -1
- package/dist/{packbits-cef9cbbc.js → packbits-d4c6b85a.js} +1 -1
- package/dist/{raw-49fc55eb.js → raw-53c015d7.js} +1 -1
- package/dist/{webimage-f062cec3.js → webimage-c50503cd.js} +1 -1
- package/dist-tsc/Scatterplot.js +1 -1
- package/package.json +7 -7
- package/src/Scatterplot.js +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
|
|
2
|
-
import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-
|
|
2
|
+
import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-fe788b76.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "@vitessce/vit-s";
|
|
5
5
|
import "react-dom";
|
package/dist-tsc/Scatterplot.js
CHANGED
|
@@ -159,7 +159,7 @@ class Scatterplot extends AbstractSpatialOrScatterplot {
|
|
|
159
159
|
}));
|
|
160
160
|
const collisionForce = this.cellSetsForceSimulation
|
|
161
161
|
.size(d => ([
|
|
162
|
-
cellSetLabelSize * 1 / (2 ** zoom) * 4 * d
|
|
162
|
+
cellSetLabelSize * 1 / (2 ** zoom) * 4 * d?.label?.length,
|
|
163
163
|
cellSetLabelSize * 1 / (2 ** zoom) * 1.5,
|
|
164
164
|
]));
|
|
165
165
|
forceSimulation()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/scatterplot",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.6",
|
|
4
4
|
"author": "Gehlenborg Lab",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"d3-quadtree": "^1.0.7",
|
|
24
24
|
"lodash-es": "^4.17.21",
|
|
25
25
|
"react-aria": "^3.28.0",
|
|
26
|
-
"@vitessce/constants-internal": "3.3.
|
|
27
|
-
"@vitessce/gl": "3.3.
|
|
28
|
-
"@vitessce/icons": "3.3.
|
|
29
|
-
"@vitessce/
|
|
30
|
-
"@vitessce/
|
|
31
|
-
"@vitessce/vit-s": "3.3.
|
|
26
|
+
"@vitessce/constants-internal": "3.3.6",
|
|
27
|
+
"@vitessce/gl": "3.3.6",
|
|
28
|
+
"@vitessce/icons": "3.3.6",
|
|
29
|
+
"@vitessce/utils": "3.3.6",
|
|
30
|
+
"@vitessce/tooltip": "3.3.6",
|
|
31
|
+
"@vitessce/vit-s": "3.3.6"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@testing-library/jest-dom": "^5.16.4",
|
package/src/Scatterplot.js
CHANGED
|
@@ -195,7 +195,7 @@ class Scatterplot extends AbstractSpatialOrScatterplot {
|
|
|
195
195
|
|
|
196
196
|
const collisionForce = this.cellSetsForceSimulation
|
|
197
197
|
.size(d => ([
|
|
198
|
-
cellSetLabelSize * 1 / (2 ** zoom) * 4 * d
|
|
198
|
+
cellSetLabelSize * 1 / (2 ** zoom) * 4 * d?.label?.length,
|
|
199
199
|
cellSetLabelSize * 1 / (2 ** zoom) * 1.5,
|
|
200
200
|
]));
|
|
201
201
|
|