Methods
diff
- urlA: The ‘current’ model
- urlB: The ‘incoming’ model
- mode: The VisualDiffMode
- optional authToken Used for potentially loading models
Promise <
_DiffResult_
>
undiff
updateVisualDiff
- optional time: A value between 0 and 1 which that is used to interpolate opacity between ‘current’ and ‘incoming’ objects
- optional model: VisualDiffMode
Typedefs
DiffResult
- unchanged: All the nodes considered unchanged
- added: All the nodes considered added
- removed: All the nodes considered removed
- modified: All the nodes considered modified by pairs, where the first node is from the ‘current’ model and second one is from the ‘incoming’ model
VisualDiffMode
red
forremoved
yellow
formodified
green
foradded
no change
forunchanged