We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3ad3dc commit 49c12bcCopy full SHA for 49c12bc
src/simulator/engine/d3-simulator-engine.ts
@@ -16,7 +16,7 @@ import { Emitter } from '../../utils/emitter.utils';
16
import { isObjectEqual, copyObject } from '../../utils/object.utils';
17
18
const MANY_BODY_MAX_DISTANCE_TO_LINK_DISTANCE_RATIO = 100;
19
-const DEFAULT_LINK_DISTANCE = 30;
+const DEFAULT_LINK_DISTANCE = 50;
20
21
export enum D3SimulatorEngineEventType {
22
SIMULATION_START = 'simulation-start',
@@ -113,7 +113,7 @@ export const DEFAULT_SETTINGS: ID3SimulatorEngineSettings = {
113
},
114
links: {
115
distance: DEFAULT_LINK_DISTANCE,
116
- strength: undefined,
+ strength: 1,
117
iterations: 1,
118
119
manyBody: {
0 commit comments