BranchTypes API in JavaScript (ES5) Diagram API control
Alignment position
Left - Sets the branch type as Left
Right - Sets the branch type as Right
SubLeft - Sets the branch type as SubLeft
SubRight - Sets the branch type as SubRight
Root - Sets the branch type as Root