Customize Connectors

Hello everyone,

I am in the process extending the modeler and I’ll like to create the following connectors in the image below with new rules on their behavior. The issue is I have not been able to find any information on how this can be achieved. Any help on how to achieve this will be appreciated.

Thanks.
image