From 3d1b85fce23da9662d33f4f197933b8c65e393d6 Mon Sep 17 00:00:00 2001 From: Braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Tue, 7 Jan 2025 17:57:22 +0100 Subject: [PATCH] refactor(core): allow setting handleId in useNodeConnections (#1732) * refactor(core): allow setting handleId in useNodeConnections Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com> * chore(core): deprecate useHandleConnections Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com> * chore(examples): cleanup Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com> * chore(docs): cleanup Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com> * chore(core): cleanup Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com> * chore(core): cleanup Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com> * chore(docs): cleanup Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com> --------- Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com> --- docs/examples/custom-node/OutputNode.vue | 4 +- docs/examples/layout/ProcessNode.vue | 6 +- docs/examples/math/ResultNode.vue | 5 +- docs/src/examples/math.md | 4 +- docs/src/guide/composables.md | 7 +- examples/vite/src/Layouting/ProcessNode.vue | 6 +- examples/vite/src/Math/ResultNode.vue | 4 +- .../src/composables/useHandleConnections.ts | 1 + .../src/composables/useNodeConnections.ts | 114 ++++++------------ packages/core/src/store/actions.ts | 6 +- packages/core/src/types/connection.ts | 12 +- packages/core/src/utils/store.ts | 67 +++++++--- 12 files changed, 122 insertions(+), 114 deletions(-) diff --git a/docs/examples/custom-node/OutputNode.vue b/docs/examples/custom-node/OutputNode.vue index d04a719e..84045efa 100644 --- a/docs/examples/custom-node/OutputNode.vue +++ b/docs/examples/custom-node/OutputNode.vue @@ -1,7 +1,7 @@