Is it possible to connect element on every side position of element?

Hi,

I want to connect element on the certain side position.
For example: not only the middle and corner position on the element.
Is it possible to add more connector on the element by ourselves or just link to the element without connector?

thanks!

Could you please, clarify your issue, as you are able to connect elements with each side of the diagram shape:

Sorry for not describe the need clarify,

I mean, is there any api that can create connector like the red one?
I hope the connect position is not limited on the blue one.

Sorry for not describe the need clarify,

I mean, is there any api that can create connector like the red one?
I hope the connect position is not limited on the blue one.

Picture is below.