Skip to content

Function: updateEdge

â–¸ updateEdge(oldEdge, newConnection, elements): Elements<any, any, any, any>

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

Parameters

NameType
oldEdgeEdge<any, any, string>
newConnectionConnection
elementsElements<any, any, any, any>

Returns

Elements<any, any, any, any>

Released under the MIT License.