Book a Demo

Author Topic: relationships automatically appear in diagrams  (Read 3841 times)

iris

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
relationships automatically appear in diagrams
« on: November 13, 2007, 06:43:14 am »
Hello,

I have two diagrams that show classes A and B.  If in diagram 1 I create an association between A & B, the association is automatically shown in diagram 2.  The same behaviour occurs if creating a generalisation link, or dependency on one of the diagramms : the other diagram is automatically updated to show this link.

Is is possible to disable this behaviour?  I'm drawing separate diagrams to concentrate in separate aspects, and one of my diagrams gets automatically "polluted" by the links I create in the other one.

Thanks for any help!

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: relationships automatically appear in diagrams
« Reply #1 on: November 13, 2007, 07:05:51 am »
Yes, you can.

On one of the 'other' diagrams, right-click the offending link and from the context menu choose Set Visibility | Hide Connector.

If you want the connector to show on only one diagram, then do the same as above and choose Hide Connector on Other Diagrams - on the diagram in question of course.

Note that the above settings, in particular the second, only affect the model as it is when you hide the connector. Diagrams added or modified later will show the connector. Thus, you might want to wait until your model is substantially complete before doing the above work.

On the same context menu you'll also find shortcuts to options for selectively or totally hiding connector labels. These tend to be on a per-diagram basis. Sigh...

David
No, you can't have it!

iris

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: relationships automatically appear in diagrams
« Reply #2 on: November 15, 2007, 07:54:13 am »
Thanks for the answer.
Tiding up the diagrams may rapidly become quite heavy.  I'm looking for something like a global option "do not automatically display new links in existing diagrams".  I guess this does not exist? ???

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: relationships automatically appear in diagrams
« Reply #3 on: November 15, 2007, 08:04:18 am »
To the best of my knowledge it does not.

If you've got a lot of diagrams to handle, and this will be ongoing, write a small add-in to handle this for you.

It may seem daunting at first, but it is really quite easy to write an add-in of this sort. You can use any tool that handles COM programming, including VBA - I've often whipped up a simple add-in from a Word or Excel document.

David
No, you can't have it!

Thomas Mercer-Hursh

  • EA User
  • **
  • Posts: 386
  • Karma: +0/-0
  • Computing Integrity
    • View Profile
Re: relationships automatically appear in diagrams
« Reply #4 on: November 15, 2007, 09:17:37 am »
If you are going to be doing a lot of this, particularly creating new diagrams showing different connections, then you are probably going to want to create an add-in that will filter what gets put into any one diagram.