How to reverse engineer a class diagram ?

Hello,

I am a beginner in modeling, hope you can help me.

Three is a C++ project that I'm trying toreverse engineer aclass diagramfrom my solution. I select the solution node in the solution explorer, and then select Project->Visio UML->Reverse Engineering.VS 2003 says it completed, Visio starts, and I can find all my classes inside the package folder .so it’s working.But after doing the drag and drop, I can not make the relationship among those classes. (Right click->show all relationships)

Does the MS Visio 2003 make thoserelationships automatically?

Thanks

Amir Kanan

[2014 byte] By [amirkanan] at [2008-2-2]
# 1
I have used a Tool called TogetherJ. That supports reverse engineering as well as forward engineering.
AjeethKumar at 2007-9-10 > top of Msdn Tech,Architecture,Modeling and Tools...
# 2

Hi Amir,

Visio only recognizes inheritance between classes.

If you reverse engineer classes that have associations (or in other words, class A holds a member of type B), you'll see the two classes (A and B), and you'll see a property of type B in class A, but you won't see the association between the classes (since property is the implementation of association, in most cases).

In my opinion, visio is one of the worst tools to do UML (including class diagrams).

If you need a tool for UML, reverse engineering and code synchronization, type Enterprise Architect by Sparx.

Best of luck,

Ido.

IdoFlatow at 2007-9-10 > top of Msdn Tech,Architecture,Modeling and Tools...
# 3

Dear Ido

Thanks .I'll try it.

Regards

amirkanan at 2007-9-10 > top of Msdn Tech,Architecture,Modeling and Tools...