ModelSynchronizer

constructor(filter: ModelSynchronizer.IFilter, sourceRoot: INode, targetRoot: INode, nodeAssociation: INodeAssociation)

Parameters

filter

determines which nodes need synchronization. Nodes that do not match the filter are skipped and will remain unchanged.

sourceRoot

root of the tree containing the expected nodes

targetRoot

root of the tree that needs changes

nodeAssociation

mapping between source and target nodes, that is used for internal optimizations