.net Visual Studio UML 类图生成器
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2606615/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Visual Studio UML Class Diagram Generator
提问by iTEgg
I was wondering if there was a software that would generate UML class diagrams from my project files (C#) in Visual Studio 2008 Professional? Like a plugin of sorts?
我想知道是否有一种软件可以从 Visual Studio 2008 Professional 中的项目文件 (C#) 生成 UML 类图?像各种插件?
I have checked previous posts and did not see anything useful on the first glance.
我检查了以前的帖子,乍一看没有看到任何有用的东西。
Edit: I found Class Diagram item! but open to more tips.
编辑:我找到了类图项目!但对更多提示持开放态度。
Edit: Any ideas regarding how do I go about exporting these diagrams?
编辑:关于如何导出这些图表的任何想法?
Edit: Export diagram as image.
编辑:将图表导出为图像。
采纳答案by Webleeuw
What about the Visual Studio Class Diagram?
Visual Studio 类图怎么样?
Choose "add New Item" - General category - Class Diagram. Results should be like this:
选择“添加新项目” - 常规类别 - 类图。结果应该是这样的:

(source: developingfor.net)

(来源:developmentfor.net)
回答by Santosh
You can use the http://modeling.codeplex.com/add-in.
您可以使用http://modeling.codeplex.com/插件。
回答by Eoin Campbell
You can "Copy" and "Paste" the diagram into MSPaint
您可以将图表“复制”和“粘贴”到 MSPaint 中
or you can just print it to the MS Document Image Writer as well.
或者您也可以将其打印到 MS Document Image Writer。

