mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 03:12:15 +00:00
fix(editor): Add arrow end to connection line (#10704)
This commit is contained in:
committed by
GitHub
parent
468f01aaa8
commit
43713dcd89
@@ -14,7 +14,7 @@ import type {
|
|||||||
NodeChange,
|
NodeChange,
|
||||||
NodePositionChange,
|
NodePositionChange,
|
||||||
} from '@vue-flow/core';
|
} 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 { Background } from '@vue-flow/background';
|
||||||
import { MiniMap } from '@vue-flow/minimap';
|
import { MiniMap } from '@vue-flow/minimap';
|
||||||
import Node from './elements/nodes/CanvasNode.vue';
|
import Node from './elements/nodes/CanvasNode.vue';
|
||||||
@@ -500,6 +500,7 @@ provide(CanvasKey, {
|
|||||||
:nodes="nodes"
|
:nodes="nodes"
|
||||||
:edges="connections"
|
:edges="connections"
|
||||||
:apply-changes="false"
|
:apply-changes="false"
|
||||||
|
:connection-line-options="{ markerEnd: MarkerType.ArrowClosed }"
|
||||||
pan-on-scroll
|
pan-on-scroll
|
||||||
snap-to-grid
|
snap-to-grid
|
||||||
:snap-grid="[GRID_SIZE, GRID_SIZE]"
|
:snap-grid="[GRID_SIZE, GRID_SIZE]"
|
||||||
|
|||||||
Reference in New Issue
Block a user