Book a Demo

Author Topic: Can you suppress individual Tags on a diagram?  (Read 4484 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Can you suppress individual Tags on a diagram?
« on: February 05, 2020, 03:12:50 pm »
I know you can suppress individual Features (in the appropriate Feature Compartment) on a diagram via the [Ctrl+Shift+Y] Compartment Visibility dialog.

However, is it possible to do the same with the Tags Compartment?  I want to be able to suppress certain (in this case, administrative) tags from being visible in the Tags Compartment.

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

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Can you suppress individual Tags on a diagram?
« Reply #1 on: February 05, 2020, 03:52:18 pm »
No, I don't think you can.

But you could write your own shapescript that shows only the tags you would like to show.

Geert

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Can you suppress individual Tags on a diagram?
« Reply #2 on: February 05, 2020, 06:30:55 pm »
No, I don't think you can.

But you could write your own shapescript that shows only the tags you would like to show.

Geert
I didn't think so either...  But, if you don't ask, you don't get!

I'll publish a feature request when I get some bandwidth.

As you'll see from my feature request, the list of tags to show/suppress is volatile and diagram dependent.  SO TOO hard for shapescript (and it's really not its job IMV)

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

Takeshi K

  • EA User
  • **
  • Posts: 632
  • Karma: +43/-1
    • View Profile
    • Sparx Systems Japan
Re: Can you suppress individual Tags on a diagram?
« Reply #3 on: February 05, 2020, 06:48:08 pm »
Hello Paolo,

The following setting might help you:

Double-click a diagram background - select Features group - enter Tag names to suppress in the 'Tag Names' textbox in the Suppress Compartment Items' panel


HTH,

--
t-kouno

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Can you suppress individual Tags on a diagram?
« Reply #4 on: February 05, 2020, 07:50:38 pm »
Hello Paolo,

The following setting might help you:

Double-click a diagram background - select Features group - enter Tag names to suppress in the 'Tag Names' textbox in the Suppress Compartment Items' panel


HTH,
Thanks, Takeshi, it DOES help.  It answers the first part of my proposed feature request (more later).

If I understand it correctly, it is diagram-wide.  I'd also like an element-specific version.  Can you confirm that's not possible?

Do you happen to know how I can make this applicable to the Diagram definitions in the MDG?  I quickly checked the "usual suspects" but couldn't see where EA hides the info.

Paolo

PS: @qwerty can you "weave your magic"?
« Last Edit: February 06, 2020, 09:19:36 am by Paolo F Cantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Can you suppress individual Tags on a diagram?
« Reply #5 on: February 06, 2020, 09:04:14 am »
Do you happen to know how I can make this applicable to the Diagram definitions in the MDG?  I quickly checked the "usual suspects" but couldn't see where Ea hides the info.



It appears to be in t_diagram.StyleEx,something like 'SUPTAG=a,b,c;'  You should be able to add that to styleex in the diagram profile but I've never tried it (never even knew about the feature!)
The Sparx Team
[email protected]

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Can you suppress individual Tags on a diagram?
« Reply #6 on: February 06, 2020, 09:16:50 am »
Do you happen to know how I can make this applicable to the Diagram definitions in the MDG?  I quickly checked the "usual suspects" but couldn't see where EA hides the info.
It appears to be in t_diagram.StyleEx, something like 'SUPTAG=a,b,c;'  You should be able to add that to styleex in the diagram profile but I've never tried it (never even knew about the feature!)
Thanks, Neil,

Don't know how I missed it in the first look.   :-[

Paolo
« Last Edit: February 06, 2020, 09:22:28 am by Paolo F Cantoni »
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: Can you suppress individual Tags on a diagram?
« Reply #7 on: February 06, 2020, 09:20:52 pm »
It appears to be in t_diagram.StyleEx,something like 'SUPTAG=a,b,c;'  You should be able to add that to styleex in the diagram profile but I've never tried it (never even knew about the feature!)

Hehe, another nugget. Thanks, Neil!
« Last Edit: February 11, 2020, 01:43:56 am by qwerty »