Book a Demo

Author Topic: Show relationships only of a certain type  (Read 7746 times)

adepreter

  • EA User
  • **
  • Posts: 190
  • Karma: +10/-10
    • View Profile
Show relationships only of a certain type
« on: April 19, 2012, 03:51:36 am »
Problem
When adding a relationship between 2 elements, it is extremely annoying to see that all diagrams including the related elements now include that relationship as well, even when that diagram is not meant to show such releationship.
In very large models, this leads to numerous manual changes to each and every diagram to hide these relationships.

Example
Let's says we create an information flow diagram that is supposed to include only Components and Information Flows.
When adding for example an association, a realization, a dependency or a generalization, we don't want these relationships to appear on the Information flow diagram.

Proposed solution
Ability to set a multi-valued property on diagrams to tell which types of relationship need to be visible or hidden.

g.makulik

  • EA User
  • **
  • Posts: 355
  • Karma: +0/-0
    • View Profile
Re: Show relationships only of a certain type
« Reply #1 on: April 19, 2012, 04:29:41 am »
Simply right click on the newly created connector and select 'Visibility->Hide Connector in Other Diagrams'. That should do what you want.
Might be nice to have this as a general option either diagram or link based though. Couldn't find one with a quick lookup ...

HTH
Günther
Using EA9.3, UML2.3, C++, linux, my brain, http://makulik.github.com/sttcl/

adepreter

  • EA User
  • **
  • Posts: 190
  • Karma: +10/-10
    • View Profile
Re: Show relationships only of a certain type
« Reply #2 on: April 19, 2012, 06:32:16 pm »
Thank you Gunther.
That is already a good workaround.

I suppose Sparx is trying to avoid changes to the model database structure. And this is an obstacle to adding persistent model/diagram properties.
The cake and eat it...

Cheers
Alain