Book a Demo

Author Topic: find a connector in other diagrams  (Read 4556 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
find a connector in other diagrams
« on: June 10, 2011, 06:25:43 pm »
Hi

I'd like to know if there is a way to select a connector between 2 elements (e.g. an association between 2 classes) and find out where this connector is displayed on other diagrams
This is possible for elements and I would find it useful for connectors/associations

cheers
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


abruckner

  • EA User
  • **
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: find a connector in other diagrams
« Reply #1 on: June 10, 2011, 07:17:37 pm »
select DiagramID from t_diagramlinks
where ConnectorID = <xyz>

there's no other way. use Repository.SQLQuery to execute, and parse the xml

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: find a connector in other diagrams
« Reply #2 on: June 10, 2011, 10:28:57 pm »
I'm not sure if t_diagramLinks will contain all instances.
IIRC EA will not record a diagramLink if nothing is changed about the connector for that diagram (so no special style or something like that).

So to be correct you should be searching for all diagrams where both ends are shown, and where the link isn't hidden. (that information is stored in the diagramLink as well)

Geert

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: find a connector in other diagrams
« Reply #3 on: June 13, 2011, 07:59:33 am »
Try selecting the connector, then open the Context menu and select Visibility, and then Hide Connector in other diagrams.

I agree it would make good sense for a Connector to have a menu item "Find in other Diagrams".

Please put in a feature request.

Simon


PS Note also the useful Diagram | Advanced | Visible relations
« Last Edit: June 13, 2011, 08:00:05 am by skiwi »
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: find a connector in other diagrams
« Reply #4 on: June 14, 2011, 04:44:01 pm »
Hi Simon

thanks for the info - it will be useful in the meantime. Shame we can't open a diagram from the list of checkboxes

Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: find a connector in other diagrams
« Reply #5 on: June 15, 2011, 06:54:10 am »
Quote
...a Connector to have a menu item "Find in other Diagrams".

Please put in a feature request.

Registered user feature request submitted
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.