Hey,
I am trying to grab all the connectors which are attached to one Element in order to find all the elements that have a connection.

E.g.: 1) Grab Connection from Element A to find Port 1 and therefore Element B
2) Use Port C to get Connection to Port D and therefore find Element D
I already know that I can access the port through
element.ports
which gives me the list of attached ports, and I know how to get the Element when I have the port.
The only thing left is how I can access and travers the connectors. According to the Metamodel Documentation there should be two connector ends associated with each connector, which I can use for that.
Using the Debugger to find all possible values and functions I didn't find one that seemed to fit.
Help is appreciated and thanks
Kind regards,
Flo