mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 16:13:50 +00:00
minor stuffs
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
<!-- TEST appelle la fonction sans passer par le callback de vis-network
|
||||
<button class="btn btn-sm btn-create" @click="addRelationshipModal({ from: 'person_1617', to: 'person_1614' })">add link</button>
|
||||
<=== InternalError: too much recursion
|
||||
-->
|
||||
<!--// <=== InternalError: too much recursion -->
|
||||
|
||||
<div id="visgraph"></div>
|
||||
|
||||
@@ -243,6 +243,10 @@ export default {
|
||||
this.forceUpdateComponent()
|
||||
}
|
||||
break
|
||||
case 'household':
|
||||
let household = this.nodes.filter(n => n.id === data.nodes[0])[0]
|
||||
console.log('######## event on selected Household Node ########', household.id, household)
|
||||
break
|
||||
case 'accompanying_period':
|
||||
let course = this.nodes.filter(n => n.id === data.nodes[0])[0]
|
||||
console.log('&&&&&&&& event on selected AccompanyingCourse Node &&&&&&&&', course.id, course)
|
||||
@@ -253,6 +257,12 @@ export default {
|
||||
throw 'this node type is undefined'
|
||||
}
|
||||
})
|
||||
|
||||
/*
|
||||
window.network.on('selectEdge', (data) => {
|
||||
console.log('######## event onSelectEdge ########', data)
|
||||
})
|
||||
*/
|
||||
},
|
||||
forceUpdateComponent() {
|
||||
console.log('forceUpdateComponent')
|
||||
|
Reference in New Issue
Block a user