From d730869443d1dc6a97f3668580979678738b2c58 Mon Sep 17 00:00:00 2001 From: Braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Sun, 12 Dec 2021 00:18:43 +0100 Subject: [PATCH] update(examples): adapt examples Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com> --- examples/EdgeWithButton/ButtonEdge.vue | 5 ++-- examples/Edges/CustomEdge.vue | 5 ++-- examples/Edges/CustomEdge2.vue | 5 ++-- examples/Edges/EdgesExample.vue | 8 +++--- examples/Nesting/Nesting.vue | 1 - examples/Overview/Overview.vue | 4 +-- examples/Provider/Sidebar.vue | 2 +- .../Unidirectional/UnidirectionalExample.vue | 26 +++++++++---------- 8 files changed, 26 insertions(+), 30 deletions(-) diff --git a/examples/EdgeWithButton/ButtonEdge.vue b/examples/EdgeWithButton/ButtonEdge.vue index ef213a4a..8ba4c082 100644 --- a/examples/EdgeWithButton/ButtonEdge.vue +++ b/examples/EdgeWithButton/ButtonEdge.vue @@ -1,5 +1,5 @@ diff --git a/examples/Unidirectional/UnidirectionalExample.vue b/examples/Unidirectional/UnidirectionalExample.vue index 57e05cec..b6b10950 100644 --- a/examples/Unidirectional/UnidirectionalExample.vue +++ b/examples/Unidirectional/UnidirectionalExample.vue @@ -11,7 +11,7 @@ import { ConnectionLineType, ConnectionMode, updateEdge, - ArrowHeadType, + MarkerType, } from '~/index' const initialElements: Elements = [ @@ -67,7 +67,7 @@ const initialElements: Elements = [ sourceHandle: 'left', targetHandle: 'bottom', type: 'smoothstep', - arrowHeadType: ArrowHeadType.Arrow, + markerEnd: MarkerType.Arrow, }, { id: 'e0-1b', @@ -76,7 +76,7 @@ const initialElements: Elements = [ sourceHandle: 'top', targetHandle: 'right', type: 'smoothstep', - arrowHeadType: ArrowHeadType.Arrow, + markerEnd: MarkerType.Arrow, }, { id: 'e0-2a', @@ -85,7 +85,7 @@ const initialElements: Elements = [ sourceHandle: 'top', targetHandle: 'left', type: 'smoothstep', - arrowHeadType: ArrowHeadType.Arrow, + markerEnd: MarkerType.Arrow, }, { id: 'e0-2b', @@ -94,7 +94,7 @@ const initialElements: Elements = [ sourceHandle: 'right', targetHandle: 'bottom', type: 'smoothstep', - arrowHeadType: ArrowHeadType.Arrow, + markerEnd: MarkerType.Arrow, }, { id: 'e0-3a', @@ -103,7 +103,7 @@ const initialElements: Elements = [ sourceHandle: 'right', targetHandle: 'top', type: 'smoothstep', - arrowHeadType: ArrowHeadType.Arrow, + markerEnd: MarkerType.Arrow, }, { id: 'e0-3b', @@ -112,7 +112,7 @@ const initialElements: Elements = [ sourceHandle: 'bottom', targetHandle: 'left', type: 'smoothstep', - arrowHeadType: ArrowHeadType.Arrow, + markerEnd: MarkerType.Arrow, }, { id: 'e0-4a', @@ -121,7 +121,7 @@ const initialElements: Elements = [ sourceHandle: 'bottom', targetHandle: 'right', type: 'smoothstep', - arrowHeadType: ArrowHeadType.Arrow, + markerEnd: MarkerType.Arrow, }, { id: 'e0-4b', @@ -130,7 +130,7 @@ const initialElements: Elements = [ sourceHandle: 'left', targetHandle: 'top', type: 'smoothstep', - arrowHeadType: ArrowHeadType.Arrow, + markerEnd: MarkerType.Arrow, }, { id: 'e0-10', @@ -139,7 +139,7 @@ const initialElements: Elements = [ sourceHandle: 'top', targetHandle: 'bottom', type: 'smoothstep', - arrowHeadType: ArrowHeadType.Arrow, + markerEnd: MarkerType.Arrow, }, { id: 'e0-20', @@ -148,7 +148,7 @@ const initialElements: Elements = [ sourceHandle: 'right', targetHandle: 'left', type: 'smoothstep', - arrowHeadType: ArrowHeadType.Arrow, + markerEnd: MarkerType.Arrow, }, { id: 'e0-30', @@ -157,7 +157,7 @@ const initialElements: Elements = [ sourceHandle: 'bottom', targetHandle: 'top', type: 'smoothstep', - arrowHeadType: ArrowHeadType.Arrow, + markerEnd: MarkerType.Arrow, }, { id: 'e0-40', @@ -166,7 +166,7 @@ const initialElements: Elements = [ sourceHandle: 'left', targetHandle: 'right', type: 'smoothstep', - arrowHeadType: ArrowHeadType.Arrow, + markerEnd: MarkerType.Arrow, }, ]