Subscribe to elements connections

Hello!!!
I need to subscribe to the event, thats fires, when two elements are connected.
Someone can helps me?
Thanks very much

I believe that connection.added is what you are looking for.

Hi barmac, thanks for the reply.
Actually, what i need, is the event that fires, when i connect two tasks
connection.added fires on the loading of the model n times as connections are.
Thanks you!!!

You could also have a behavior for connection.create command.

Have a look at ReplaceConnectionBehavior.

thanks you very much!