Includes entire call stack?

Oct 13, 2009 at 4:21 AM

we notice SequenceViz generates every single method call for every class. How can we define certain exclusions to reduce the sequence diagrams into more relevant and meaningful illustrations?

Developer
Oct 13, 2009 at 7:55 PM

you can tweak the config file to exclude certain types. Also in the diagram itself, a right click on a type will give options to filter.

Oct 14, 2009 at 2:44 AM

The diagram appears to be a static image (which took very long to render since it essentially drew the entire call tree); right-clicking anywhere just shows Save to XPS...

Coordinator
Oct 16, 2009 at 8:27 PM

You can right-click on the class name (box) and filter it out.

If it is taking a long time to render then you can even do this before starting up sequenceviz.

Edit the sequenceviz.exe.config file and add the name of types, methods and assemblies that you want it to ignore.

 

<add key="IgnoredMethodList" value="get_|set_|add_|remove_"/>
    <add key="IgnoredTypeList" value="Form|Type|Control|ControlCollection|String|Assert"/>
    <add key="IgnoredAssemblyList" value="mscorlib|System"/>

<add key="IgnoredMethodList" value="get_|set_|add_|remove_"/>

<add key="IgnoredTypeList" value="Form|Type|Control|ControlCollection|String|Assert"/>

<add key="IgnoredAssemblyList" value="mscorlib|System"/>

 

Oct 19, 2009 at 4:40 AM

Hi there, i tried to add some of our non-important assemblies in the IgnoredAssemblyList and that seemed to reduce the clutter. However, we still see items like Directory, File, IDisposable, IEnumerator coming out. There is no option to exclude by namespace i guess? ignoring System.IO or System.Collections or System.Diagnostics does not correspond well with IgnoredAssemblyList since they are not assemblies by themselves.

thanks