@krainovsd/graph 0.10.0-rc6 → 0.10.0-rc7
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/lib/cjs/index.cjs +1 -2
- package/lib/cjs/index.cjs.map +1 -1
- package/lib/esm/module/GraphCanvas/constants/force-settings.js +0 -1
- package/lib/esm/module/GraphCanvas/constants/force-settings.js.map +1 -1
- package/lib/esm/module/GraphCanvas/slices/init-simulation.js +1 -1
- package/lib/esm/module/GraphCanvas/slices/init-simulation.js.map +1 -1
- package/lib/index.d.ts +0 -1
- package/package.json +1 -1
package/lib/cjs/index.cjs
CHANGED
|
@@ -30,7 +30,6 @@ const FORCE_SETTINGS = {
|
|
|
30
30
|
collideIterations: 2,
|
|
31
31
|
collideOffMax: { links: 0, nodes: 0 },
|
|
32
32
|
chargeStrength: -40,
|
|
33
|
-
chargeDistanceMax: Infinity,
|
|
34
33
|
chargeDistanceMin: 1,
|
|
35
34
|
xPosition: 0,
|
|
36
35
|
xStrength: 0.1,
|
|
@@ -2297,7 +2296,7 @@ function initSimulationForces() {
|
|
|
2297
2296
|
if (this.forceSettings.forces && this.forceSettings.chargeForce) {
|
|
2298
2297
|
this.simulation.force("charge", d3Force.forceManyBody()
|
|
2299
2298
|
.strength(this.forceSettings.chargeStrength)
|
|
2300
|
-
.distanceMax(
|
|
2299
|
+
.distanceMax(Infinity)
|
|
2301
2300
|
.distanceMin(this.forceSettings.chargeDistanceMin));
|
|
2302
2301
|
}
|
|
2303
2302
|
if (this.forceSettings.forces && this.forceSettings.centerForce) {
|