20

Is there any free tools available for generating class diagram from c++ source files and if possible for mfc source files too.

yesraaj
  • 46,370
  • 69
  • 194
  • 251

4 Answers4

32

We use doxygen with graphviz support

albert
  • 8,285
  • 3
  • 19
  • 32
fa.
  • 2,456
  • 16
  • 17
1

You could try SourceNavigator. I'm not sure what the current state of the project is, but here's a place to start.

Dan Breslau
  • 11,472
  • 2
  • 35
  • 44
0

I've had some success with Umbrello (a KDE-based app). It allows you to import code to create a model, that can then be used to generate UML diagrams.

Void - Othman
  • 3,441
  • 18
  • 18
0

Umbrello is probably fine for projects with a limited number of classes, and certainly requires manual intervention for tuning. I imagine doxygen/graphviz is more suitable for larger projects.

Gunee
  • 431
  • 3
  • 16