From 95610ffd342d4c06fcb59ea474773b260adc4f67 Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Wed, 10 Nov 2021 19:57:19 +0100 Subject: [PATCH] visgraph: improve update graph mechanism adding an updateHack in store, and a watcher in component. * updateHack increment a value in the lpop, * the watcher detect when value changes * and $forceUpdate improve layer checkbox legend refresh and rebuild --- .../Resources/public/vuejs/VisGraph/App.vue | 47 ++++++++++--------- .../Resources/public/vuejs/VisGraph/store.js | 27 ++++++++--- 2 files changed, 44 insertions(+), 30 deletions(-) diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/VisGraph/App.vue b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/VisGraph/App.vue index fa6707ed1..3f26eb13b 100644 --- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/VisGraph/App.vue +++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/VisGraph/App.vue @@ -8,7 +8,7 @@ -