In Visual Studio 2012 Ultimate (and also 2010 and 2013), one can generate a dependency graph using ARCHITECTURE -> For Solution. I would like to access this functionality programmatically, perhaps using the Visual Studio SDK. Specifically, I would like to access the graph data structure produced by the dependency graph tool in VS.
How can this be done?