问题
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?
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.
回答1:
What about the Visual Studio Class Diagram?
Choose "add New Item" - General category - Class Diagram. Results should be like this:
(source: developingfor.net)
回答2:
You can use the http://modeling.codeplex.com/ add-in.
回答3:
You can "Copy" and "Paste" the diagram into MSPaint
or you can just print it to the MS Document Image Writer as well.
来源:https://stackoverflow.com/questions/2606615/visual-studio-uml-class-diagram-generator