Skip to content

Commit

Permalink
fix(editor): Add arrow end to connection line (#10704)
Browse files Browse the repository at this point in the history
  • Loading branch information
r00gm authored and riascho committed Sep 23, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 288493d commit 2f74971
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/editor-ui/src/components/canvas/Canvas.vue
Original file line number Diff line number Diff line change
@@ -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]"

0 comments on commit 2f74971

Please sign in to comment.