How do enable auto connect connections (for new object)

Hi i have created custom objects and connections. I want to auto connect when element is dropped on connection. I tried adding create move snapping but it is not working. How can i get it to work?

Please give me some directions,


Why is it not working? Without knowing the source code, it will hard to tell you.

Hi I have created a project to show my code:

Please take a look:

Would be great if you could direct us to the place of your code where you stuck.

Thanks for the reply - i finally resolved by adding new custom rules (I will close this topic).

Thanks for the response

Could you provide a little bit more detail on your solution? Would help others running in the same issue.