From e855f24448312704850a53122f6ce4728c73ac90 Mon Sep 17 00:00:00 2001 From: cristhianzl Date: Wed, 31 Jan 2024 17:54:54 -0300 Subject: [PATCH] fixing arrow direction --- src/frontend/src/stores/flowStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/stores/flowStore.ts b/src/frontend/src/stores/flowStore.ts index 7170ad038..93080d2ee 100644 --- a/src/frontend/src/stores/flowStore.ts +++ b/src/frontend/src/stores/flowStore.ts @@ -306,6 +306,7 @@ const useFlowStore = create((set, get) => ({ .nodes.find( (node) => node.id === connection.source || node.id === connection.target ); + const sourceType = findNode?.data?.type; let isIoIn = false; let isIoOut = false; @@ -333,7 +334,6 @@ const useFlowStore = create((set, get) => ({ (scapeJSONParse(connection.targetHandle!) as targetHandleType) .type === "Text", markerEnd: isIoIn || isIoOut ? { ...commonMarkerProps } : undefined, - markerStart: isIoIn || isIoOut ? { ...commonMarkerProps } : undefined, }, oldEdges );