PortAlignment API in JavaScript (ES5) Diagram API control
Defines how the ports have to be aligned with respect to its immediate parent
Center - Aligns the ports at the center of a connector segment
Before - Aligns the ports before a connector segment
After - Aligns the ports after a connector segment