mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
vue_visgraph: add vis manipulation actions and vis styles
This commit is contained in:
@@ -34,10 +34,12 @@ const store = createStore({
|
||||
mutations: {
|
||||
addPerson(state, person) {
|
||||
person.label = person.text // vis need label
|
||||
person.id = `person_${person.id}`
|
||||
state.persons.push(person)
|
||||
},
|
||||
addHousehold(state, household) {
|
||||
household.label = `Ménage n° ${household.id}` // vis need label
|
||||
household.id = `household_${household.id}`
|
||||
state.households.push(household)
|
||||
},
|
||||
markHouseholdLoading(state, id) {
|
||||
|
Reference in New Issue
Block a user