Browse Source

minor tweaks

css_transitions
Alex de Mulder 10 years ago
parent
commit
15f0e10b39
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      src/graph/Graph.js

+ 5
- 5
src/graph/Graph.js View File

@ -36,8 +36,8 @@ function Graph (container, data, options) {
widthMax: 64, // px widthMax: 64, // px
fontColor: 'black', fontColor: 'black',
fontSize: 14, // px fontSize: 14, // px
//fontFace: verdana,
fontFace: 'arial',
fontFace: 'verdana',
// fontFace: 'arial',
color: { color: {
border: '#2B7CE9', border: '#2B7CE9',
background: '#97C2FC', background: '#97C2FC',
@ -71,11 +71,11 @@ function Graph (container, data, options) {
physics: { physics: {
barnesHut: { barnesHut: {
enabled: true, enabled: true,
theta: 1 / 0.4, // inverted to save time during calculation
theta: 1 / 0.3, // inverted to save time during calculation
gravitationalConstant: -7500, gravitationalConstant: -7500,
centralGravity: 0.9, centralGravity: 0.9,
springLength: 20,
springConstant: 0.06
springLength: 25,
springConstant: 0.05
}, },
repulsion: { repulsion: {
centralGravity: 0.01, centralGravity: 0.01,

Loading…
Cancel
Save