Book a Demo

Author Topic: Issues in drawing class diagrams for a very big cl  (Read 6031 times)

stoic1979

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Issues in drawing class diagrams for a very big cl
« on: March 13, 2007, 10:39:21 pm »
i need some guidence to draw class diagram for a very big class with aroung 100 functions.


actually its derived from 7-8 interface (c++)

is it convenient to break this diagram into multiple diagrmas for single class ,

because one page cant accomodate this diagram,

regards
nEo

mikewhit

  • EA User
  • **
  • Posts: 608
  • Karma: +0/-0
  • Accessing ....
    • View Profile
Re: Issues in drawing class diagrams for a very bi
« Reply #1 on: March 14, 2007, 12:06:05 am »
Quote
i need some guidence to draw class diagram for a very big class with aroung 100 functions.
Unless it was programmatically generated, or talking to some kind of very general API, I would look again at the design of a single class that had 100 (all public ?) functions, and consider some kind of refactoring.

I take the point that it is derived from several interfaces ...
« Last Edit: March 14, 2007, 12:07:37 am by mikewhit »

thomaskilian

  • Guest
Re: Issues in drawing class diagrams for a very bi
« Reply #2 on: March 14, 2007, 12:19:59 am »
Don't know what you're complaining about. What to say against just having one class THECLASS which is doing it all together ;)

mikewhit

  • EA User
  • **
  • Posts: 608
  • Karma: +0/-0
  • Accessing ....
    • View Profile
Re: Issues in drawing class diagrams for a very bi
« Reply #3 on: March 14, 2007, 12:29:41 am »
All my C programs have just one function, called "main" ;)

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Issues in drawing class diagrams for a very bi
« Reply #4 on: March 14, 2007, 04:06:54 am »
So, ideally we could have a single class called, for example, FORTRAN. It would provide all the necessary functionality for programming in our chosen paradigm.

If we switched programming languages we could design another single class, say CsNet, that would do the same for our new programming environment.

So far so good. But the real challenge is to design CIMCLASS, together with a set of transforms that will implement it for each of the platforms we might use. This class would provide all the necessary functions for programming, and its design would - as required by both custom and law - ensure that we get the "best" way to do all these things.

I believe the specifications are still in the works. Best to tell our clients or other taskmasters that we're not just sitting on our ponderous duffs, but waiting eagerly for a timely and cost-justified better way to do <insert whatever it is that they think they need> and that this is well worth waiting for.

Remember, it will surely be RSN!
No, you can't have it!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Issues in drawing class diagrams for a very bi
« Reply #5 on: March 14, 2007, 01:10:14 pm »
Have a look at the feature visibility dialog for a class.  http://www.sparxsystems.com.au/EAUserGuide/index.html?setfeaturevisibility.htm  This will allow you to show/hide individual methods so that you can create individual diagrams that reflect important aspects of that class.