Skip to content

@vue-flow/monorepo • Docs


Function: updateEdge() ​

updateEdge(oldEdge, newConnection, elements): Elements

Parameters ​

• oldEdge: Edge

• newConnection: Connection

• elements: Elements

Returns ​

Elements

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

Released under the MIT License.