visgraph: add hover interaction

This commit is contained in:
2021-11-01 09:49:55 +01:00
parent a57a23dc49
commit 869e442c2c
2 changed files with 12 additions and 4 deletions

View File

@@ -294,7 +294,7 @@ const store = createStore({
arrows: 'to',
color: 'lightblue',
font: { color: '#33839d' },
dashes: true,
dashes: true, //physics: false,
label: getRelationshipLabel(r, false),
title: getRelationshipTitle(r),
})
@@ -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)
},
}
})