update: Remove wrapEdge and wrapNode files

* implement Edge.tsx and Node.vue to wrap the components accordingly
refactor!: Removing callbacks from props in favor of events
chore: upgrade vue and vite vue plugin
This commit is contained in:
Braks
2021-08-08 19:28:45 +02:00
parent ffd41fb679
commit 25c92ecd84
40 changed files with 1224 additions and 3349 deletions
+2 -2
View File
@@ -100,8 +100,8 @@ const MiniMap = defineComponent({
key={node.id}
x={node.__rf.position.x}
y={node.__rf.position.y}
width={node.__rf.width}
height={node.__rf.height}
width={node.__rf.width || 0}
height={node.__rf.height || 0}
style={node.style}
class={nodeClassNameFunc.value(node)}
color={nodeColorFunc.value(node)}