Author Topic: Set label visibility for all connectors  (Read 5737 times)

jbvo

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Set label visibility for all connectors
« on: April 08, 2009, 03:57:42 pm »
Am I missing something? I tried searching the forum and help but couldn't find anything about the following:

I would like to be able to set the label visibility for all connectors on the current diagram at once, or be able to access the label visibility in the automation interface.

In the data model view, EA adds a lot of labels to connectors when creating relationships, sometimes I just want to hide some labels for every connector for a better overview when printing for example.

Frank Horn

  • EA User
  • **
  • Posts: 535
  • Karma: +1/-0
    • View Profile
Re: Set label visibility for all connectors
« Reply #1 on: April 08, 2009, 04:07:26 pm »
In the automation interface, DiagramLink.IsHidden should be the property you need (I've never tried it out, though).

jbvo

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Set label visibility for all connectors
« Reply #2 on: April 08, 2009, 04:50:31 pm »
Quote
In the automation interface, DiagramLink.IsHidden should be the property you need (I've never tried it out, though).
Thanks for your quick response. I don't think the DiagramLink.IsHidden is what I am looking for, I want to be able to hide specific labels for every connector, not hide the complete connector, e.g. hide the middle bottom label on every connector.

Edit:
Ah, I found it, but the way to use it is not really nice. There's a Geometry field in DiagramLink as well, it's a string member, with semicolon separated values in it. With some ugly search and replace actions, I could get this running, but the code wouldn't be very elegant... :(
« Last Edit: April 08, 2009, 05:15:11 pm by jbvo »

Frank Horn

  • EA User
  • **
  • Posts: 535
  • Karma: +1/-0
    • View Profile
Re: Set label visibility for all connectors
« Reply #3 on: April 08, 2009, 08:23:00 pm »
Ah yes, the awful Geometry property. That would make a good feature request indeed: to wrap the values contained therein into nice integer properties. and the same for other strings like that.

It's been suggested before, though, to no avail.

Thelonius

  • EA User
  • **
  • Posts: 274
  • Karma: +6/-0
  • I think. Therefore I get paid.
    • View Profile
Re: Set label visibility for all connectors
« Reply #4 on: February 28, 2012, 04:25:04 pm »
Yes, your furniture very nice. Post pictures your furniture to see here.

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Set label visibility for all connectors
« Reply #5 on: February 28, 2012, 04:39:04 pm »
The spam from a Polish furniture seller has been removed. Well spotted Thelonius!  And there we were thinking it was all enthusiastic praise for the suggested features...
Best Regards, Roy