Book a Demo

Author Topic: MDG Quicklinker: problem with the direction when selecting Composes  (Read 5001 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Hello,

I have an MDG with stereotyped ArchiMate elements. I use the "stereotyped relationship" dependencies to define the Quicklinker rules.
It works well except for the following:
- I have a "SampleA" stereotype
- I want to create Composition links from a SampleA stereotyped element to another one -> this is defined via a  "stereotyped relationship" self-dependency with stereotype tagged value = "ArchiMate3::ArchiMate_Composition"
Testing the MDG, the "Composed of" quicklinker works as expected. However when I choose "Composes", it creates the composition with Direction = Source - Destination (expected result: Unspecified).

Is there a workaround? (I'm using the latest 14.1 build)

Thanks
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: MDG Quicklinker: problem with the direction when selecting Composes
« Reply #1 on: June 18, 2019, 10:03:11 am »
Hi Guillaume,

May I ask why you expected the direction property to have the result "Unspecified"?  To my understanding, Composition is always a directed relationship.  Notwithstanding you are defining a reflexive (but NOT symmetrical) relationship, one SampleA is the holonym (whole) and the other is the meronym (part).  IIRC the default direction is "Source -> Destination".

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: MDG Quicklinker: problem with the direction when selecting Composes
« Reply #2 on: June 18, 2019, 04:23:51 pm »
Navigability is something different (you'd need to foster UML 2.5 for details). It's an association and the diamond specifies where the aggregation goes (and only to one side).

q.

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: MDG Quicklinker: problem with the direction when selecting Composes
« Reply #3 on: June 18, 2019, 05:14:20 pm »
Hi,

My aim is to have consistent links i.e. without any arrow at the end of the composition link (on the part's side).

I tested it with standard Archimate 3 Application components and I got the same issue so it looks like a small bug with the Archimate 3 MDG.
See the following diagram:


I'll submit it to Sparx.

Thanks
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: MDG Quicklinker: problem with the direction when selecting Composes
« Reply #4 on: December 16, 2020, 06:49:45 pm »
This is still an active issue in the current build i.e. if you define a stereotyped connector with a direction = unspecified e.g. an association, composition...
Creating the association with the quicklinker with the forwards link (src -> target) it works.
If you select the opposite/backwards meaning (e.g. associated from, compose to whole), the arrow end is available and needs to be removed.
I also tried to set the navigability to unspecified ou not navigable in the stereotype definition both ways, but the result is the same.
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: MDG Quicklinker: problem with the direction when selecting Composes
« Reply #5 on: December 16, 2020, 06:57:03 pm »
I can confirm that this is indeed a bug.

I noticed it as well (though I didn't actually report it yet)

Geert