@braks/vue-flow / applyChanges

Function: applyChanges

applyChanges<T, C>(changes, elements): T[]

Type parameters

NameType
Textends Node<any, any> | Edge<any, any> | FlowElement<any> = Node<any, any>
Cextends ElementChange = T extends GraphNode<any, any> ? NodeChange : EdgeChange

Parameters

NameType
changesC[]
elementsT[]

Returns

T[]