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
@@ -86,11 +86,8 @@ export type FlowInstance<T = any> = {
getElements: () => Elements<T>
setTransform: (transform: FlowTransform) => void
toObject: ToObjectFunc<T>
updateNodeInternals: (id: ElementId) => void
}
export type OnLoadFunc<T = any> = (params: FlowInstance<T>) => void
export interface FlowOptions extends Omit<HTMLAttributes, 'onLoad'> {
elements: Elements
nodeTypes?: Record<string, NodeType> | string[]