This commit is contained in:
2021-11-09 19:58:04 +01:00
parent b392bc9e65
commit bfca6d2afc
4 changed files with 14 additions and 32 deletions

View File

@@ -71,7 +71,7 @@ const store = createStore({
//console.log(link.id, state.excludedNodesIds.indexOf(splitId(link.id, 'link')))
}
})
console.log(array.length, array.map(i => i.id))
console.log('count links', array.length, array.map(i => i.id))
return array.length
},
@@ -120,9 +120,8 @@ const store = createStore({
mutations: {
addPerson(state, [person, options]) {
let debug = ''
/// Debug mode ~ display person_id on visgraph
// uncomment
debug = `\nid ${person.id}`
/// Debug mode: uncomment to display person_id on visgraph
//debug = `\nid ${person.id}`
person.group = person.type
person._id = person.id
person.id = `person_${person.id}`