feat(pathfinding-edge): add and export props type

This commit is contained in:
Braks
2022-05-22 22:46:47 +02:00
parent 18cf57937c
commit 0a285d63c7
10 changed files with 111 additions and 104 deletions
@@ -1,7 +1,7 @@
import type { Elements } from '@braks/vue-flow'
import type { EdgeMarkerType, Elements } from '@braks/vue-flow'
import { MarkerType } from '@braks/vue-flow'
const markerEnd = MarkerType.Arrow
const markerEnd: EdgeMarkerType = MarkerType.Arrow
export default [
{
@@ -101,7 +101,8 @@ export default [
id: 'e2c2d',
source: '2c',
target: '2d',
type: 'pathFinding',
type: 'perfectArrow',
label: 'perfect arrow',
markerEnd,
},
{