Book a Demo

Author Topic: Suppress adding diagramlink  (Read 3340 times)

masstq

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Suppress adding diagramlink
« on: December 07, 2011, 10:11:42 pm »
Hi
EA adds automatically diagram links from existing connectors on new diagrams, where are the same objects as on other diagram. Is there any way to disable that?

Thanks for any help.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Suppress adding diagramlink
« Reply #1 on: December 08, 2011, 12:34:13 am »
The only think I know is that you can avoid the appearance of a relation on other diagrams.
See Context Menu|Visibility|Hide Connector on other Diagrams

You can of course write a little script/addin to remove all links from your diagram.

Geert

masstq

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Suppress adding diagramlink
« Reply #2 on: December 08, 2011, 12:43:12 am »
Thanks Geert for Your answer.
I tried using broadcast event EA_OnPostOpenDiagram and delete there unwanted links, but on diagram reload EA again add those links.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Suppress adding diagramlink
« Reply #3 on: December 08, 2011, 12:48:25 am »
You have to explicitly hide the diagramLinks in order to have a lasting effect. (DiagramLink.IsHidden)
EA will always create a diagramLink for every link between any two objects shown on the diagram

Geert

masstq

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Suppress adding diagramlink
« Reply #4 on: December 08, 2011, 01:18:47 am »
I've totally forgot about that, thanks so much Geert!