Connection ProtocolΒΆ

In Gaphor, if a connection is made on a diagram between an element and a relationship, the connection is also made at semantic level (the model). From a GUI point of view, a button release event is what kicks of the decision whether the connection is allowed.

_images/a26e1ce5-0092-11eb-8f71-7fd0147881a5.svg

The check if a connection is allowed should also check if it is valid to create a relation to/from the same element (like associations, but not generalizations).