Skip to content

Function: addEdge

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

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

Parameters

NameType
edgeParamsEdge<any, any> | Connection
elementsElements<any, any, any, any>
defaults?DefaultEdgeOptions

Returns

Elements<any, any, any, any>

Released under the MIT License.