mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +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 }))
|
commit('addPerson', adapt2vis(person, { folded: true }))
|
||||||
|
|
||||||
console.log('********* fetch infos for missing', person.id, '******')
|
console.log('********* fetch infos for missing', person.id, '******')
|
||||||
//dispatch('fetchInfoForPerson', person)
|
dispatch('fetchInfoForPerson', person)
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -25,8 +25,8 @@ window.options = {
|
|||||||
barnesHut: {
|
barnesHut: {
|
||||||
theta: 0.5,
|
theta: 0.5,
|
||||||
gravitationalConstant: -2000,
|
gravitationalConstant: -2000,
|
||||||
centralGravity: 0.1, //// 0.3
|
centralGravity: 0.08, //// 0.3
|
||||||
springLength: 200, //// 95
|
springLength: 220, //// 95
|
||||||
springConstant: 0.04,
|
springConstant: 0.04,
|
||||||
damping: 0.09,
|
damping: 0.09,
|
||||||
avoidOverlap: 0
|
avoidOverlap: 0
|
||||||
@ -151,10 +151,22 @@ window.options = {
|
|||||||
border: '#b0b0b0',
|
border: '#b0b0b0',
|
||||||
background: 'rgb(193,229,222)',
|
background: 'rgb(193,229,222)',
|
||||||
highlight: {
|
highlight: {
|
||||||
border: '#8d3686',
|
border: '#89c9a9',
|
||||||
background: 'rgb(193,229,222)'
|
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: {
|
household: {
|
||||||
color: 'pink'
|
color: 'pink'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user