Book a Demo

Author Topic: Reverse Engineer into Linked Class Diagram  (Read 3069 times)

DBG

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Reverse Engineer into Linked Class Diagram
« 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

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Reverse Engineer into Linked Class Diagram
« Reply #1 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.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Reverse Engineer into Linked Class Diagram
« Reply #2 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

DBG

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Reverse Engineer into Linked Class Diagram
« Reply #3 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.

DBG

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Reverse Engineer into Linked Class Diagram
« Reply #4 on: January 26, 2011, 12:41:20 pm »
Both drag and drop and add relationships worked great. Thanks.