Book a Demo

Author Topic: Class diagram generation for classes in a package  (Read 3486 times)

tobschwa

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Class diagram generation for classes in a package
« on: December 11, 2008, 09:59:46 am »
Hi all,

is there a way to automatically generate a class diagram for classes located in a package ? The only way I have seen so far for doing this is by reverse-engineering. In this case classes are created in EA and the class diagram is generated.

Tobias
« Last Edit: December 11, 2008, 09:59:59 am by tobschwa »

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Class diagram generation for classes in a pack
« Reply #1 on: December 11, 2008, 04:07:19 pm »
You mean something like create a class diagram, drop all the classes onto it and press layout?

You can also drop a single class on and then select 'Add' | 'Related Elements' from the context menu.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Class diagram generation for classes in a pack
« Reply #2 on: December 11, 2008, 11:00:33 pm »
Quote
...
You can also drop a single class on and then select 'Add' | 'Related Elements' from the context menu.
If you do it this way, they dialog provides the option to have EA lay out the diagram after adding the elements. Depending on whether you want to do this yourself this option might be helpful.
No, you can't have it!

tobschwa

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Class diagram generation for classes in a pack
« Reply #3 on: December 12, 2008, 02:22:15 am »
Okay, I tried out the 'Add' | 'Related Elements' option and it mostly answered my question.
I was just wondering if there is a way of doing this for all of the classes in a package at once instead of pulling them all on the class diagram one by one and then add the related elements.