I was wondering if there was a Sequence Diagram generator for C#?
Im using Visual Studio 2008 Professional.
If not is there a quick and simple software?
Im finding Enterprise Architect and Visio a bit too cryptic for a b开发者_运维问答eginner.
I have found the Class Diagram feature on Visual Studio, which s very useful and am hoping for a equally useful simple program to generate Sequence Diagrams.
Thanks.
Other than products like Enterprise Architect, I don't know of a way to do it with VS2008.
OTOH, you can do it with VS2010.
Divide your question into two parts:
1) are there tools for diagramming my C# code in UML
2) are any of those tools integrated into Visual Studio
ArgoUML is a standalone tool that does pretty good general UML diagrams without needing a huge enterprisey package. yuml.me has a shorthand for online activity/sequence diagrams
I doubt either one helps with the second issue but I hope they help with the first issue.
Well, if you ever choose to install VS2010 and would still like to create a sequence diagram from code:
1. Open the source code of the method that you would like to generate from it the sequence diagram.
2. Press the right mouse button on the method body and select ‘Generate Sequence Diagram’.
If you have a special folder for sequence diagrams:
3. Deselect the ‘Add diagram to current project’.
4. Save the diagram in right location (Sequence Diagrams) and add it to the Source Control. (We're working with TFS).
精彩评论