Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: DBG on January 20, 2011, 03:14:28 am

Title: Reverse Engineer into Linked Class Diagram
Post by: DBG on January 20, 2011, 03:14:28 am
Hi-

I've searched around the net and forums and can't seem to find what I am looking for. Perhaps its not possible.

I have been reverse engineering my project into diagrams by importing the PHP code into EA. When set to put files into packages based on folders, EA seems to be able to determine what is linked, what is parent and what are dependent classes.

What I really want to have happen is one large diagram to be created which shows all of the interrelationships between my classes diagrammed with connectors.

Can this be done automatically or do I need to go package by package, class by class and create my own diagram?

EA 7.5.850

Thanks,

-David
Title: Re: Reverse Engineer into Linked Class Diagram
Post by: Eve on January 20, 2011, 08:42:19 am
EA does not provide an option to create one diagram with all imported classes on it.

Instead try using the Insert Related functionality, along with the relationships window.
Title: Re: Reverse Engineer into Linked Class Diagram
Post by: Geert Bellekens on January 20, 2011, 05:34:08 pm
David,

What are you going to do with such diagram, plaster the wall? ;)

If you really want this then there are two options (I think)
- Multiselect your classes in the project browser and drag them onto a new diagram (could be that multiselect is only available from 8.0, I'm not sure)
- Create a little script/addin to visit your packages and add each of the owned classes to the diagram.

Relations between classes will automatically appear on the diagram if both ends are displayed.

Geert
Title: Re: Reverse Engineer into Linked Class Diagram
Post by: DBG on January 21, 2011, 02:20:55 am
Quote
David,

What are you going to do with such diagram, plaster the wall? ;)


This is what plotters are for :)

Thanks for the responses so far, I'll try these things.
Title: Re: Reverse Engineer into Linked Class Diagram
Post by: DBG on January 26, 2011, 12:41:20 pm
Both drag and drop and add relationships worked great. Thanks.