chore(core): deprecate options api utils

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2022-12-25 16:17:04 +01:00
committed by Braks
parent 10d312d1fc
commit c1a6945303
+4
View File
@@ -161,6 +161,8 @@ export const connectionExists = (edge: Edge | Connection, elements: Elements) =>
)
/**
* @deprecated Use store instance and call `addEdges` with template-ref or the one received by `onPaneReady` instead
*
* Intended for options API
* In composition API you can access utilities from `useVueFlow`
*/
@@ -186,6 +188,8 @@ export const addEdge = (edgeParams: Edge | Connection, elements: Elements, defau
}
/**
* @deprecated Use store instance and call `updateEdge` with template-ref or the one received by `onPaneReady` instead
*
* Intended for options API
* In composition API you can access utilities from `useVueFlow`
*/