Generating UML from C++ code? [closed]

2019-01-07 02:40发布

Is there a tool that can parse C++ files within a project and generate UML from it?

标签: c++ uml
10条回答
走好不送
2楼-- · 2019-01-07 02:55

UML Studio does this quite well in my experience, and will run in "freeware mode" for small projects.

查看更多
来,给爷笑一个
3楼-- · 2019-01-07 03:00

If its just diagrams that you want, doxygen does a pretty good job.

查看更多
Fickle 薄情
4楼-- · 2019-01-07 03:02

I believe Enterprise Architect can do that.

查看更多
叼着烟拽天下
5楼-- · 2019-01-07 03:03

StarUML does just that and it is free. Unfortunately it hasn't been updated for a while. There were a couple of offshoot projects (as the project admins wouldn't allow it to be taken over) but they too have died a death.

查看更多
forever°为你锁心
6楼-- · 2019-01-07 03:08

I find that Wikipedia can be a great source of information about such tools, especially for comparison tables. There's a page on UML tools. See in particular the reverse engineered languages column.

查看更多
做个烂人
7楼-- · 2019-01-07 03:11

Seems Umbrello produces best UML from C++ code (suggest to use latest version >= 2.22) comparing to command-line autodia for Dia and other tools.

StarUML have not produced good diagrams for me: strange import, not usable, does not work for many people: https://github.com/staruml/Cpp/issues

查看更多
登录 后发表回答