From ee6bf3252e242b13912f6ca7d76fa2da0b70836a Mon Sep 17 00:00:00 2001
From: Braks <78412429+bcakmakoglu@users.noreply.github.com>
Date: Mon, 20 Dec 2021 12:17:03 +0100
Subject: [PATCH] refactor(flow): Watch models
* replace model value after re-setting elements/nodes/edges
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
---
src/container/VueFlow/VueFlow.vue | 60 +++++++++++++++++--------------
src/container/VueFlow/watch.ts | 43 +++++++++++++++-------
src/store/actions.ts | 10 ++++--
src/types/flow.ts | 2 +-
4 files changed, 72 insertions(+), 43 deletions(-)
diff --git a/src/container/VueFlow/VueFlow.vue b/src/container/VueFlow/VueFlow.vue
index f20ec95c..e84df06e 100644
--- a/src/container/VueFlow/VueFlow.vue
+++ b/src/container/VueFlow/VueFlow.vue
@@ -1,8 +1,8 @@