AlignmentMode API in JavaScript (ES5) Diagram API control
Defines the mode of the alignment based on which the elements should be aligned
Object - Aligns the objects based on the first object in the selected list
Selector - Aligns the objects based on the the selector bounds