Skip to content

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[]

Released under the MIT License.