Skip to content

Function: applyChanges

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

Type parameters

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

Parameters

NameType
changesC[]
elementsT[]

Returns

T[]

Released under the MIT License.