Function: addEdge ​
â–¸ addEdge(edgeParams
, elements
, defaults?
): Elements
Parameters ​
Name | Type |
---|---|
edgeParams | Connection | Edge |
elements | Elements |
defaults? | DefaultEdgeOptions |
Returns ​
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