chore(core): deprecate options api utils
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -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
|
* Intended for options API
|
||||||
* In composition API you can access utilities from `useVueFlow`
|
* 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
|
* Intended for options API
|
||||||
* In composition API you can access utilities from `useVueFlow`
|
* In composition API you can access utilities from `useVueFlow`
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user