@braks/vue-flow / addEdge

Function: addEdge

addEdge(edgeParams, elements, defaults?): Elements<any>

Intended for options API In composition API you can access utilities from useVueFlow

Parameters

NameType
edgeParamsConnection | Edge<any, any>
elementsElements<any>
defaults?DefaultEdgeOptions

Returns

Elements<any>