SequenceViz.Reflector:

This is a reflector addin to generate sequence diagram. It is built using the WPF renderer which removes the dependency on Gnuplot and other minor issues.

reflector_sequenceviz_wpf.png

Download(Binary)

Installation:
  1. A version of Reflector is included in the zip file which you can use.
  2. If you would like to use your own version of Reflector then you need to copy the configuration file (Reflector.exe.config) and the Plugin file (Reflector.LiveSequence.dll) in the same directory.
  3. If you already have Reflector.exe.config file then you may need to paste the contents of this file carefully into Reflector.exe.config. In case you don't have Reflector.exe.config file then you can safely use this config file.
  4. Restart reflector to load the updated config file and navigate to any method and right click to select "Sequence Diagram" as shown above.

Try this and for any suggestion/bug report, please drop me a comment.

Last edited Oct 13, 2008 at 9:52 PM by nleghari, version 5

Comments

fernando_cuenca Mar 8, 2011 at 4:26 PM 
Great tool. I got it to work in Windows 7, using Reflector 6.6.0.30. The Reflector add-in initially failed to load, until I realized it also depends on LiveSequence.Xps.dll. After copying that DLL into the Reflector folder, it worked perfectly.

dblack Feb 22, 2011 at 1:55 PM 
I also had NullReferenceExceptions (object not set to an instance of an object) before seeing that I needed to install GNU PlotUtils (thanks ewall). I wish that had been noted in a readme.txt or installation instructions above. After installing GNU PlotUtils, all works well. I am running Reflector version 6.6.0.30.

After installing GNU PlotUtils, you should verify its install path and compare it to the path listed in the .config that needs to be added to your default Reflector.exe.config. This is especially true if you are running an x64 OS - the default install path will be "C:\Program Files (x86)\GnuWin32\bin" whereas the default listed in the .config that comes with this addin is "C:\Program Files\GnuWin32\bin".

ewall Sep 16, 2009 at 2:50 PM 
It works fine with Reflector v5+... if you have the prerequisites. The errors are because this requires the Win32 port of the GNU PlotUtils (http://gnuwin32.sourceforge.net/packages/plotutils.htm). If you run the setup (http://gnuwin32.sourceforge.net/downlinks/plotutils.php) and install to the default directory, you will not need to change the paths in the 'Reflector.exe.config'.

CasperT Sep 4, 2009 at 12:35 PM 
I'd love to see this working with the newest reflector :(

bbassler Jun 17, 2009 at 8:42 PM 
This addin does not work with the latest Reflector. Throws errors when method is selected

waylonflinn Apr 27, 2009 at 6:36 PM 
Is this working in the new version of .NET Reflector (5.1.4.0)?

izic Feb 4, 2009 at 2:25 PM 
Hi! It's great tool, it's nice to have simple and yet fully functional sight to part of the app's functionality. However, it would be nice to add some kind of filter that should allow or disallow drawing of some classes that takes space and they are not always needed. For example the calls to System.Object.ToString() or System,Collection.Generics.List<T>.Add() often take lot of space by drawing the classes or instances (rectangles) and their lifelines, yet they aren't always needed. Maybe to add some inclusion/exclusion attributes that can be added in code or the objects and methods can be just tagged (selected) through context menus in your add-in. Al together - great job!

baygun May 6, 2008 at 12:33 PM 
Question: Before I try to install, does it handle fairly complicated diagrams well? They may get hard to read...

mreuss Apr 29, 2008 at 9:21 AM 
Thanks too for this tool. I got it to work at last by adding a few quotes in PicRenderer.ExecutePlot(), where the argument for Pic2Plot is constructed. Otherwise it struggles with spaces in directory names. Because there is no error checking, it just displays the old .svg instead...

adirob1 Apr 9, 2008 at 1:41 PM 
Awesome tool, love it! However, like abaitam i seem to have the issue where the first svg is created and then no matter where i click i end up with the same image - any ideas on what might be causing the issue?

Thanks!

mrjonie Apr 4, 2008 at 4:08 PM 
It works fine for me...i am in xp prof...had it work with reflector..how ever have one problem..if the seq diagram is pretty big with more objects involved, i dont have enough space in the SVG viewer to display that....50% of the diagrams are cut, with lot of space left in the console...Is there any way, we can increase the work space for SVG viewer ?

nleghari Mar 20, 2008 at 8:48 PM 
I didn't check this on Vista so you can try getting the source and compiling on Vista but I don't think that should be a problem. There are cases when it is unable to parse the assembly and therefore unable to render the diagram for the method. To check whether it is setup correctly, you can try loading the log4net.dll in the bin directory.

ethicalone Mar 20, 2008 at 6:28 PM 
I am having the same issue as abaitam, the SVG image is always the same regardless of which method I click on. I am using Vista SP1 btw.

abaitam Jan 19, 2008 at 1:01 AM 
I have Adobe SVG Viewer and the plot utility installed and I added appsetting to the reflector config file. However, I always get the same SVG file in reflector. I tried deleting seq.svg but then I get a page not found on the right hand pane. What do I need to make SequenceViz work in reflector.

Thanks

glikoz Oct 29, 2007 at 8:30 PM 
Does anyone know a software or a tool that allow this requirement, thanks

Shmulikk Jul 31, 2007 at 6:23 AM 
You have to install the Adobe SVG Viewer add-on in order to get it to work properly

XPBrains Jun 6, 2007 at 2:03 AM 
I have the following error when trying to build seq. diagram:
Error occures when add-in tries to process ''file...
<svg width="8in" height="8in" viewBox="0 0 1 1" preserveAspectRatio="none">


<svg width="8in" height="8in" viewBox="0 0 1 1" preserveAspectRatio="none">

leifwickland Jun 1, 2007 at 4:02 PM 
I could be wrong, but it seems that the binaries don't work with the new (5.0.21.0) version of Reflector.

netvance Apr 29, 2007 at 3:04 PM 
This i found in Naumans Blog:"MethodViz was a little experiment that I was doing. As you must have read from a comment from Jonathan, it is not trivial to find the full method hierarchy. It found myself like building a JIT compiler myself so I left it there and will not be updating that tool. I am hoping to update SequenceViz to fix any bugs and add any enhancements." Greetings from Vienna, netvance (http://www.netvance.at)