click node event (wip)

This commit is contained in:
Mathieu Jaumotte 2021-10-29 19:08:52 +02:00
parent 6719548504
commit 09903c2f52

View File

@ -114,6 +114,10 @@ export default {
this.checkedLayers = this.checkedLayers.filter(i => i !== id)
this.$store.commit('addExcludedNode', id)
},
clickOnNode(callback) {
console.log('** click on node **')
window.network.on('click', callback)
},
}
/*
TODO / TO CHECK / TO UNDERSTAND