Book a Demo

Author Topic: Multi-namespace PHP class diagram ?  (Read 3159 times)

ChristopheL

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Multi-namespace PHP class diagram ?
« on: June 22, 2012, 03:06:10 am »
Hello,

I'm working with EA 9.0 and I would like to generate from a PHP project a class diagram containing all the classes of the main namespace and all the sub-namespace.

When I import a PHP source directory, it creates one class diagram per namespace and sub-namespace, but I would be interested to have additionnaly one class diagram on the top level containing all the classes of the whole imported source directory, like a "summarized" class diagram, including all the class diagram in one and adding the relationship between the classes from the different namespaces.

How can I do that please ?

Thanks in advance

By the way, generating class diagram from PHP source code is working quite well, great work and thanks to the developers of EA !

Best regards,
Christophe

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Multi-namespace PHP class diagram ?
« Reply #1 on: June 22, 2012, 06:00:39 am »
I'm not too deep in that subject but AFAIK you need to construct such a diagram manually. This for a good reason as such diagrams soon get cluttered and unreadable. You should consider to create a diagram of diagrams be creating a top level diagram and dragging all the sub-diagrams onto it (as frame).

q.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Multi-namespace PHP class diagram ?
« Reply #2 on: June 22, 2012, 07:42:43 pm »
Quote
I'm not too deep in that subject but AFAIK you need to construct such a diagram manually. This for a good reason as such diagrams soon get cluttered and unreadable. You should consider to create a diagram of diagrams be creating a top level diagram and dragging all the sub-diagrams onto it (as frame).

q.
I'd rather use hyperlinks than frames since EA won't show the relationships between elements in different frames (and they might exist), I think it's better to not mislead the reader.

My AU$0.05
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!