need API for Connection Routing in Interactive Diagram Editor