Tainted Peanut Butter, The Sequel: PowerShell, DGML and Visual Studio 2010

by Doug Finke on December 20, 2009

in DGML,PowerShell,Visual Studio 2010,Visualizations,Visualizing Data

Grab the PowerShell code below, it easily creates DGML, Directed Graph Markup Language, from a piped input stream. Then view the graph in Visual Studio 2010 .

Here is another link Cool New Graph Visualization Technologies in Visual Studio 2010.  Plus, look at another PowerShell version using the Microsoft Research tool NodeXL PowerShell, Visualize the Peanut Butter Recall Data.

Tainted Peanut Butter

The viewer for directed graph documents  in VS 2010 has several nice features: zoom, pan, drill down, right/left/directed layouts and more. Using the same dataset (comma separated values) as I did in the NodeXL version, it was quick work to generate the Xml representation for this graph.

Recalling Firm by Category

image

Screen Cast Walkthrough

 

Requires Visual Studio 2010 Beta 2

For this to work you need to download it, HERE. I don’t know if there is a stand alone viewer for DGML.

Grab The Code

{ 3 trackbacks }

Tweets that mention Tainted Peanut Butter, The Sequel: PowerShell, DGML and Visual Studio 2010 -- Topsy.com
12.20.09 at 8:22 pm
SQL Server Object Dependency Viewer Revisited | Sev17
08.07.10 at 4:05 pm
SQL Server Object Dependency Viewer Revisited | SQLServerPedia
08.09.10 at 3:47 am

{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>