Skip to content

@vue-flow/monorepoDocs


Function: addEdge()

addEdge(edgeParams, elements, defaults?): Elements

Parameters

edgeParams: Edge | Connection

elements: Elements

defaults?: DefaultEdgeOptions

Returns

Elements

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

VueFlow v1.42 中文网 - 粤ICP备13048890号