How to get only Class level dependency using GraphCmd.exe

  • Thread starter Thread starter NeelAK
  • Start date Start date
N

NeelAK

Guest
Hi,

I am using the following DGQL to get the .dgml file for my sample

+ Id.Equals("Microsoft.FileSystem.SelectFiles") /
"Microsoft.FileSystem.ProcessFile"(
<Dlls path here>)/
* /
"Node:Both:CodeSchema_Namespace"/
* /
"Node:Both:CodeSchema_Class","Node:Both:CodeSchema_Enum","Node:Both:CodeSchema_Interface"/
* /
"Node:Both:CodeSchema_Member"/
* /
"Link:Forward:CodeSchema_Calls"/


The .dgml file generated with above query gets nodes from Project to methods,fields and dependencies among them.

But I would like to get dependencies till the class level i.e Projects, namespaces, classes, interfaces,enums, and call,contains,references,inherits, etc dependencies among them. I do not want methods and fields/properties in the .dgml file. What change do I need to in my query?

Thanks in advance


Regards,

NeelAK

Continue reading...
 
Back
Top