Book a Demo

Author Topic: Tags on connector depending on elements  (Read 4083 times)

Kristofer

  • EA User
  • **
  • Posts: 52
  • Karma: +0/-0
    • View Profile
Tags on connector depending on elements
« on: March 01, 2018, 08:57:07 pm »
Hi!

When you create a profile in a MDG technology, you can specify which tags should be created for a connector. Is it possible to have different tags dependent on the source and target element stereotypes (without defining two different connectors)?

For example:
If the source element has stereotype 'a' and target element has stereotype 'b', a tag with name 'My tag' should be added to the connector. But if the target element has stereotype 'c', the tag 'My other tag' should be added to the connector.

Or am I required to create an add-in for this?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Tags on connector depending on elements
« Reply #1 on: March 01, 2018, 08:59:58 pm »
No, tagged values depend on the stereotype of the connector.

I'm not sure whether doing it different is a good idea.

Geert

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Tags on connector depending on elements
« Reply #2 on: March 01, 2018, 09:11:15 pm »
However, if what you're after is to make the connector look different depending on some element-type-dependent information, you can do that with a shape script.

But other than that, no, tags are defined by stereotype, not by relationships.

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

Kristofer

  • EA User
  • **
  • Posts: 52
  • Karma: +0/-0
    • View Profile
Re: Tags on connector depending on elements
« Reply #3 on: March 01, 2018, 10:30:29 pm »
Thanks for the information!