Skip to content

@vue-flow/monorepo • Docs


Function: applyChanges() ​

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

Type Parameters ​

• T extends FlowElement = FlowElement

• C extends ElementChange = T extends GraphNode<any, any, string> ? NodeChange : EdgeChange

Parameters ​

• changes: C[]

• elements: T[]

Returns ​

T[]

Released under the MIT License.