1
Automation Interface, Add-Ins and Tools / Prevent Self-Connector in MDG
« 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?
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?