From edba5a2683727424ae3583ddbbd200cb8c4d99e9 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Fri, 26 Aug 2022 12:58:01 +0200 Subject: [PATCH] Move draggable logic into own component --- .../components/Workflow/Editor/Draggable.vue | 52 +++++ .../src/components/Workflow/Editor/Node.vue | 205 ++++++++---------- 2 files changed, 148 insertions(+), 109 deletions(-) create mode 100644 client/src/components/Workflow/Editor/Draggable.vue diff --git a/client/src/components/Workflow/Editor/Draggable.vue b/client/src/components/Workflow/Editor/Draggable.vue new file mode 100644 index 00000000000..4dd9685ae5d --- /dev/null +++ b/client/src/components/Workflow/Editor/Draggable.vue @@ -0,0 +1,52 @@ + + + diff --git a/client/src/components/Workflow/Editor/Node.vue b/client/src/components/Workflow/Editor/Node.vue index f06b1507855..5cd605db4b3 100644 --- a/client/src/components/Workflow/Editor/Node.vue +++ b/client/src/components/Workflow/Editor/Node.vue @@ -1,94 +1,88 @@