Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Neil W on June 03, 2024, 06:57:00 pm

Title: Prevent Self-Connector in MDG
Post by: Neil W on June 03, 2024, 06:57:00 pm
Using "Stereotyped Relationship", "Meta-Relationship" and "Meta-Constraint" to configure Quick Linker ...

I have a Stereotyped Element: "Widget".
I have a Stereotyped Relationship: "Composed Of".

A "Widget" can be composed of another "Widget", therefore I have a Stereotyped Relationship self-linking "Widget" to "Widget" with stereotype "Composed Of".

This is working fine.

However, a "Widget" instance cannot be "Composed Of" that same "Widget" instance.

In the Quick Linker Definition format there is a column "O" named "Disallow Self connector" (not that I've ever managed to get that format to work for me -- I see from this forum that current advice is use the new "Stereotyped / Meta - Relationship" approach to configure Quick Links).

How do I disallow "Self Connectors" using the new approach?
Title: Re: Prevent Self-Connector in MDG
Post by: Paolo F Cantoni on June 03, 2024, 07:42:02 pm
Hi Neil,
I'd like to know how to do that also!

PAolo