Skip to content

Commit

Permalink
new default vizJs settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Cuddihy committed Dec 2, 2020
1 parent d2c5029 commit 8e96c28
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions sparqlGraphWeb/sparqlGraph/js/nodegrouprenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,16 @@ define([ // properly require.config'ed
physics = JSON.parse(optionsStr);
} else {
physics = {
barnesHut: {
gravitationalConstant: -4500,
springLength: 110,
avoidOverlap: 0.01,
minVelocity: 0.75
}
"barnesHut": {
"gravitationalConstant": -11500,
"centralGravity": 0.1,
"springLength": 215,
"springConstant": 0.04,
"damping": 0.09,
"avoidOverlap": 0
},
"maxVelocity": 50,
"minVelocity": 0.75
};
}

Expand Down

0 comments on commit 8e96c28

Please sign in to comment.