In the command line, launch the VsProjectDependency command line app
Example:
dotnet nodewave.App.VsProjectDependencies.Console -d "C:\MySourceCodeFolder" -o "C:\MySourceCodeFolder\dependencies.dgml"
For further options, you may read the help
dotnet nodewave.App.VsProjectDependencies.Console