Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Create a Sequence Diagram in Visual Studio 2015 Enterprise from existing code?

I'm new to the Ultimate/Enterprise line of Visual Studio products, and one thing I was looking forward to was the easy creation of sequence diagrams based on source code. Everything I've found says it's as easy as locating a method, and right click => Generate Sequence Diagram, as shown below:

Generate Sequence Diagram

...but this option doesn't seem to be available in 2015 Enterprise. Did something change?

like image 623
gerg Avatar asked Jul 21 '15 20:07

gerg


People also ask

How draw UML diagram from VS code?

Start Drawing Your First Diagrampuml file type and start writing your UML code. You can also see a real-time change of the update by right click on the VS Code script window and selecting “Preview Current Diagram” or hitting “Alt + D” (This option is available for you whenever editing the .


1 Answers

As jessehouwing mentioned in his comment, generating sequence diagrams from code (and many other UML generation options) has been removed in VS2015. With the current release, these are the diagrams that can be generated from existing code:

To visualize the architecture of a system or existing code, create the following diagrams:

  • Layer Diagrams
  • Code Maps
  • Class Diagrams

Source: https://msdn.microsoft.com/en-us/library/dd409436.aspx

like image 156
gerg Avatar answered Oct 14 '22 16:10

gerg