refactor(nodes,edges): change defaults to functional components

# What's changed?

* Change default node/edge components to functional components
This commit is contained in:
Braks
2022-04-24 13:34:22 +02:00
parent 0519bd0f25
commit 8d33014291
26 changed files with 494 additions and 454 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import { useHandle, useVueFlow } from '../../composables'
import { ConnectionMode, EdgeComponent, GraphEdge, GraphNode, Position } from '../../types'
import { getEdgePositions, getHandle, getMarkerId } from '../../utils'
import { Slots } from '../../context'
import EdgeAnchor from './EdgeAnchor.vue'
import EdgeAnchor from './EdgeAnchor'
interface EdgeWrapper {
id: string