从c ++源代码创建类图?

时间:2022-03-01 15:08:23

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

是否有任何免费工具可用于从c ++源文件生成类图,如果可能,也可用于mfc源文件。

4 个解决方案

#1


29  

We use doxygen with graphviz support

我们使用doxygen和graphviz支持

#2


1  

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

你可以试试SourceNavigator。我不确定该项目的当前状态是什么,但这里是一个开始的地方。

#3


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.

我在Umbrello(一个基于KDE的应用程序)上取得了一些成功。它允许您导入代码以创建模型,然后可以使用该模型生成UML图。

#4


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.

Umbrello可能适用于课程数量有限的项目,当然也需要手动干预才能进行调整。我想doxygen / graphviz更适合大型项目。

#1


29  

We use doxygen with graphviz support

我们使用doxygen和graphviz支持

#2


1  

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

你可以试试SourceNavigator。我不确定该项目的当前状态是什么,但这里是一个开始的地方。

#3


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.

我在Umbrello(一个基于KDE的应用程序)上取得了一些成功。它允许您导入代码以创建模型,然后可以使用该模型生成UML图。

#4


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.

Umbrello可能适用于课程数量有限的项目,当然也需要手动干预才能进行调整。我想doxygen / graphviz更适合大型项目。