Book a Demo

Author Topic: From solid to dotted connector  (Read 6743 times)

Alex9329

  • EA User
  • **
  • Posts: 42
  • Karma: +0/-0
    • View Profile
From solid to dotted connector
« on: October 17, 2017, 11:34:57 pm »
Hi,

I have a link Association. I would like to make it dotted instead of solid.

How can I do it?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: From solid to dotted connector
« Reply #1 on: October 17, 2017, 11:58:21 pm »
You need to stereotype it and write a shape script. You can not draw a plain association dotted. That's not UML compliant.

q.

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: From solid to dotted connector
« Reply #2 on: October 18, 2017, 12:00:41 am »
Hello,


You can't. Per the UML standard, an association is drawn with a solid line. If you make it dotted, it ceases to be an association.

Thus, EA allows you to set color and line thickness for a connector, since these aren't specified in the standard, but not solid/dashed/dotted, which is.

You can always create your own connector stereotype and draw that dotted or dashed using a shape script. But then it's no longer an association, and you should take care to specify the semantics of your custom connector and make clear what makes it different from an association, otherwise you will confuse certainly the model readers and quite probably the modellers as well.


/Uffe
My theories are always correct, just apply them to the right reality.