Book a Demo

Author Topic: Set width of class diagram elements (maybe alias?)  (Read 3380 times)

reg

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Set width of class diagram elements (maybe alias?)
« on: April 23, 2006, 10:41:19 pm »
Hi,

Just evaluating EA.

Have some classes with long names and many parameters that basically take over the class diagram (and makes it a bit pointless).

Am looking at ways to narrow the width. Resizing does not work, it always resizes to the 'required' width. Have searched the forums and have found people asking how to do this, but no reply.

One possible solution (without mucking with the  diagramming logic) would be to allow the use of the alias in the diagram without parameters or defaults... that is, if there is an Alias (just found that you can show these in diagrams) then use just the Alias text without any additional parameters or defaults (or anything else)??

Or... maybe in the longer term, a method of setting defined (or maximum) width and height would be the better option??

Any other sugestions on how to minimize the width 'blow out' welcome (have found you can turn off parameters for the whole diagram, which helps to some degree, but there is only one or two functions that need it).

Regards
« Last Edit: April 23, 2006, 10:53:14 pm by reg »

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Set width of class diagram elements (maybe ali
« Reply #1 on: April 24, 2006, 03:55:46 am »
Try this:
  • Open a class diagram where you have this problem.
  • Select diagram properties (F5 if the diagram has focus).
  • Set the diagram to use the alias if available (as you have already done.
  • On the right side of the dialog, almost half way down, locate the Show Parameter Detail dropdown.
  • Set this to Type Only.
This should make the diagram manageable, while not affecting any code generation or linkages to other parts of your model.

Unfortunately, this does not seem to be available on a project-wide basis, so must be set for each diagram. I believe there is an automation setting that will accomplish this, which you would also need to set each time.

David
No, you can't have it!