From 6a2c1b00d738a2fde0bf11d09cb3a2c3c2d4210d Mon Sep 17 00:00:00 2001 From: Braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Wed, 23 Mar 2022 15:49:00 +0100 Subject: [PATCH] feat: Enable passing components as node/edge-types * Instead of using slots (re)-enable passing components for node/edge-types --- examples/CustomNode/CustomNode.vue | 32 ++++++++++++++--------------- src/container/VueFlow/watch.ts | 12 ++++++++++- src/container/ZoomPane/ZoomPane.vue | 4 ++-- src/store/actions.ts | 4 ++-- src/store/getters.ts | 2 ++ src/store/state.ts | 6 ++++-- src/types/flow.ts | 5 ++++- src/types/store.ts | 8 ++++---- 8 files changed, 44 insertions(+), 29 deletions(-) diff --git a/examples/CustomNode/CustomNode.vue b/examples/CustomNode/CustomNode.vue index b6d0e635..43968aad 100644 --- a/examples/CustomNode/CustomNode.vue +++ b/examples/CustomNode/CustomNode.vue @@ -1,6 +1,6 @@