forked from p15670423/monkey
Improve map physics
This commit is contained in:
parent
8ba6ccf939
commit
48790b6ecb
|
@ -38,10 +38,11 @@ let options = {
|
|||
}
|
||||
},
|
||||
physics: {
|
||||
solver: 'forceAtlas2Based',
|
||||
forceAtlas2Based: {
|
||||
gravitationalConstant: -370
|
||||
}
|
||||
barnesHut: {
|
||||
gravitationalConstant: -120000,
|
||||
avoidOverlap: 0.5
|
||||
},
|
||||
minVelocity: 0.75
|
||||
},
|
||||
groups: getGroupsOptions()
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue