From 43713dcd89fcb98ea7e24d27127861fc4b0d7872 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20G=C3=B3mez=20Morales?= Date: Fri, 6 Sep 2024 12:58:07 +0200 Subject: [PATCH] fix(editor): Add arrow end to connection line (#10704) --- packages/editor-ui/src/components/canvas/Canvas.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/editor-ui/src/components/canvas/Canvas.vue b/packages/editor-ui/src/components/canvas/Canvas.vue index 2b0272777b..fe295dac46 100644 --- a/packages/editor-ui/src/components/canvas/Canvas.vue +++ b/packages/editor-ui/src/components/canvas/Canvas.vue @@ -14,7 +14,7 @@ import type { NodeChange, NodePositionChange, } from '@vue-flow/core'; -import { useVueFlow, VueFlow, PanelPosition } from '@vue-flow/core'; +import { useVueFlow, VueFlow, PanelPosition, MarkerType } from '@vue-flow/core'; import { Background } from '@vue-flow/background'; import { MiniMap } from '@vue-flow/minimap'; import Node from './elements/nodes/CanvasNode.vue'; @@ -500,6 +500,7 @@ provide(CanvasKey, { :nodes="nodes" :edges="connections" :apply-changes="false" + :connection-line-options="{ markerEnd: MarkerType.ArrowClosed }" pan-on-scroll snap-to-grid :snap-grid="[GRID_SIZE, GRID_SIZE]"