fix(example): custom edges not displayed correctly

This commit is contained in:
Braks
2021-08-08 19:28:45 +02:00
parent e7513b898c
commit 9e397e6817
4 changed files with 82 additions and 75 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ export const DefaultEdgeProps = {
data: {
type: Object as PropType<EdgeProps['data']>,
required: false,
default: undefined
default: () => ({} as any)
},
sourceHandleId: {
type: String as PropType<EdgeProps['sourceHandleId']>,