|
@ -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, |
|
|