Expression Tree Visualizer

Microsoft created for you an expression tree visualizer, it is contained into the C# Samples pack and it is very useful. The only thing that I do not like very much is that it give you too much information, and it is quite confused to really understand how the expression is formed. To address the problem I created another visualizer based on my expression tree dumper I made last month. You can install both visualizer as you can see from this picture

image

If you use the original expression tree visualizer even this simple expression X == 10 gaves a lot of information (left picture), my visualizer gaves a sketch of the expression, as well as the order of the node if you traverse the tree in postorder (Right picture). As you can see my visualizer shows only the relevant information and the structure of expression is more clear.

image

image

You can find the code in this subversion repository [http://nablasoft.googlecode.com/svn/trunk/Linq/ExpressionTree]

Alk.

Tags: Expression Tree Visualizers LINQ