March 29, 2010

Generate Sequence Diagrams in Visual Studio 2010 Ultimate




I was checking out the new ‘Generate Sequence Diagram’ feature in Visual Studio 2010 and it’s pretty cool!

So if you have a piece of code in a method as shown below and want to generate a sequence diagram for it, just right click the method > ‘Generate Sequence Diagram’

image

You can choose various options like the Call Depth and Call scope as shown below:

image

On hitting the OK button, VIsual Studio 2010 analyzes the code and builds a sequence diagram based on its analysis results as shown below:

image

Impressive, I say!!



Giving me +1 tells me you liked this article! Thanks in advance


Did you like this post?
kick it on DotNetKicks.com Save on Delicious
subscribe via rss subscribe via e-mail
print this post follow me on twitter


About The Author

Suprotim Agarwal, ASP.NET Architecture MVP works as an Architect Consultant and provides consultancy on how to design and develop Web applications.

Suprotim is also the founder and primary contributor to DevCurry, DotNetCurry and SQLServerCurry. He has also written an EBook 51 Recipes using jQuery with ASP.NET Controls.

Follow him on twitter @suprotimagarwal

comments

5 Responses to "Generate Sequence Diagrams in Visual Studio 2010 Ultimate"
  1. Я said...
    March 31, 2010 at 4:19 AM

    Which version VS2010 can build Sequence Diagram? I'm using VS2010 professional, and there is no such menu item.

  2. Suprotim Agarwal said...
    March 31, 2010 at 4:30 AM

    As mentioned in the post title, Visual Studio 2010 Ultimate has this feature

  3. barebonescoder said...
    April 2, 2010 at 6:10 PM

    Do you know if the sequence diagrams stay in sync with the underlying objects, like the class diagrams do?

  4. Suprotim Agarwal said...
    April 9, 2010 at 9:39 AM

    Good question. I need to try that and get back to you!

  5. Anonymous said...
    March 4, 2012 at 10:58 PM

    How to you resize the thing? I could not do so. such as deferred call box. tried to resize but i have no idea how to do it.

 

Copyright © 2009-2013 All Rights Reserved for DevCurry.com by Suprotim Agarwal | Terms and Conditions