如何使用doxygen从C ++源创建UML类图 [英] How to use doxygen to create UML class diagrams from C++ source

查看:1925
本文介绍了如何使用doxygen从C ++源创建UML类图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找一些材料,描述如何使用doxygen生成简单的类图,但是找不到。任何人都可以帮助?

I have been searching for some material that describes how to generate simple class diagrams with doxygen, but couldn't find one. Can anybody help?

我需要从一组C ++文件创建如下所示的图。

I need to create diagrams as shown below from a set of C++ files.

如果有更好的工具来实现这更容易,请让我知道。

If there are better tools to achieve this easier, please let me know.

推荐答案

Doxygen创建继承图,但我不认为它会创建一个完整类hierachy。它允许您使用GraphViz工具。如果你使用Doxygen GUI前端工具,你会发现相关的选项在 Step2: - >向导标签 - >图。 DOT关系选项位于专家标签下。

Doxygen creates inheritance diagrams but I dont think it will create an entire class hierachy. It does allow you to use the GraphViz tool. If you use the Doxygen GUI frontend tool you will find the relevant options in Step2: -> Wizard tab -> Diagrams. The DOT relation options are under the Expert Tab.

这篇关于如何使用doxygen从C ++源创建UML类图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆