update: Add slots to CustomConnectionLine.vue, Edge.vue, Node.vue

This commit is contained in:
Braks
2021-10-20 22:39:54 +02:00
parent b3d276bfb8
commit 9d9a90e9a7
25 changed files with 363 additions and 391 deletions
-3
View File
@@ -1,4 +1,3 @@
import { DefineComponent } from 'vue'
import { ElementId, Position } from './types'
import { HandleType } from '~/types/handle'
@@ -27,8 +26,6 @@ export type ConnectionLineComponentProps = {
connectionLineType: ConnectionLineType
}
export type CustomConnectionLine = DefineComponent<ConnectionLineComponentProps | any, any, any, any>
export type OnConnectFunc = (connection: Connection) => void
export type OnConnectStartParams = {
nodeId: ElementId | undefined