用于浏览 C/C++ 中的类的软件项目
我发现一些开发人员在项目附带的图像文件中以图形方式表示了所有类。我怎样才能自己创建这些图形?
基本上,它们显示文件中存在哪些类以及这些文件如何相互关联。
谢谢
I have seen that some developers have a graphical representation of all their classes in an image file which comes with their project. How can I myself create these graphics?
Basically they show what classes exist in a file and how these files relate to each other.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
Doxygen 允许您生成交互式类图。查看此页面:http://www.doxygen.nl/manual/diagrams.html 如何设置。
Doxygen allows you to generate interactive class diagrams. Check out this page: http://www.doxygen.nl/manual/diagrams.html how to set it up.
它可能是 Doxygen,一个生成带有依赖关系图的文档的软件。
It might be Doxygen, a software that generates documentation with dependancy graphs.
Eclipse 能够生成类图并将其导出为图像。
Eclipse has the ability to generate class diagrams and export them as images.
一种允许人们相当轻松地做到这一点的常用工具是 Dot,它是 Graphviz。 Dot 是一种描述图形的标记语言。如果您愿意,您可以手动生成 Dot 文件,但是有很多代码分析工具可以为您完成这项工作。多氧根就是其中之一。
One common tool that allows people to do that fairly easily is Dot, which comes as part of Graphviz. Dot is sort of a markup language describing graphs. You can generate Dot files manually if you like, but there are a lot of code analysis tools that will do the job for you. Doxygen is one.
另一个创建 UML 类图的好工具是 Dia。
Another great tool for creating UML class diagrams is Dia.