core/tree/diff_engine library

Classes

SnapshotDiffEngine
Compare two snapshots and emit a UiDiff.
UiDiff
Result of comparing two UiSnapshots.
UiNodeAdded
A node that's new in the new snapshot.
UiNodeMove
Structural reposition — the stable ID still exists, but its dotted sibling-index path changed.
UiNodeUpdate
Sparse update for a node that's present in both snapshots.
UiVisibilityChange
Visibility flipped — or only the visible fraction moved by more than kVisibleFractionDelta — and nothing else changed.

Constants

kVisibleFractionDelta → const double
Smallest visible_fraction move worth a diff entry on its own.