mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
visgraph options settings
This commit is contained in:
parent
851a246257
commit
a57a23dc49
@ -316,7 +316,7 @@ const store = createStore({
|
||||
commit('addPerson', adapt2vis(person, { folded: true }))
|
||||
|
||||
console.log('********* fetch infos for missing', person.id, '******')
|
||||
//dispatch('fetchInfoForPerson', person)
|
||||
dispatch('fetchInfoForPerson', person)
|
||||
},
|
||||
}
|
||||
})
|
||||
|
@ -25,8 +25,8 @@ window.options = {
|
||||
barnesHut: {
|
||||
theta: 0.5,
|
||||
gravitationalConstant: -2000,
|
||||
centralGravity: 0.1, //// 0.3
|
||||
springLength: 200, //// 95
|
||||
centralGravity: 0.08, //// 0.3
|
||||
springLength: 220, //// 95
|
||||
springConstant: 0.04,
|
||||
damping: 0.09,
|
||||
avoidOverlap: 0
|
||||
@ -151,10 +151,22 @@ window.options = {
|
||||
border: '#b0b0b0',
|
||||
background: 'rgb(193,229,222)',
|
||||
highlight: {
|
||||
border: '#8d3686',
|
||||
background: 'rgb(193,229,222)'
|
||||
border: '#89c9a9',
|
||||
background: 'rgb(156,213,203)'
|
||||
},
|
||||
hover: {
|
||||
border: '#89c9a9',
|
||||
background: 'rgb(156,213,203)'
|
||||
}
|
||||
}
|
||||
},
|
||||
opacity: 0.85,
|
||||
shadow:{
|
||||
enabled: true,
|
||||
color: 'rgba(0,0,0,0.5)',
|
||||
size:10,
|
||||
x:5,
|
||||
y:5
|
||||
},
|
||||
},
|
||||
household: {
|
||||
color: 'pink'
|
||||
|
Loading…
x
Reference in New Issue
Block a user