update!: Remove update node internals composable

* It's practically useless as vue doesn't need the trigger to catch a re-render
* Remove unused types

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-16 12:58:16 +01:00
parent b8c8142dc4
commit 7c66cf5d9b
10 changed files with 4 additions and 53 deletions
-3
View File
@@ -1,6 +1,5 @@
import { DefineComponent } from 'vue'
import { ArrowHeadType, ElementId, Position } from './types'
import { Connection } from './connection'
export interface Edge<T = any> {
id: ElementId
@@ -65,8 +64,6 @@ export interface EdgeSmoothStepProps<T = any> extends EdgeProps<T> {
export type EdgeType = DefineComponent<EdgeSmoothStepProps, any, any, any, any, any> | boolean
export type OnEdgeUpdateFunc<T = any> = (oldEdge: Edge<T>, newConnection: Connection) => void
export interface EdgePositions {
sourceX: number
sourceY: number