Align
Start an interactive align workflow before comparing source files.
The align workflow posts an `align` message with two source file URLs and starts an interactive alignment flow in the viewer.
The viewer waits for the operator to pick reference points and then continues through the same completion and error lifecycle used by compare.
Send the two file URLs to start interactive alignment.
Start interactive align
Handle align result
Align follows the same result event pattern as compare, with the viewer driving the interactive point-picking step.
1. Host posts align
Send the two source URLs to begin the interactive align workflow.
2. Viewer runs interactive alignment
The viewer waits for the operator to pick the required reference points before completing the compare workflow.
3. Host handles completion or failure
Use the same completion and error listeners as compare to move the workflow forward.
This example starts the interactive align flow and then waits for completion or failure from the viewer.
Use compare for direct revision diffs when the source files are already aligned.
- Compare: Compare
- Technical Reference: API References
- Overview: Compare Overview
