mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08:00
fix(editor): Add arrow end to connection line (#10704)
This commit is contained in:
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]"
|
||||||
|
|
Loading…
Reference in a new issue