Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Project Dependency Visualization #251

Open
giddingsra0 opened this issue Dec 20, 2022 · 0 comments
Open

Add Project Dependency Visualization #251

giddingsra0 opened this issue Dec 20, 2022 · 0 comments

Comments

@giddingsra0
Copy link

Is your feature request related to a problem? Please describe.

JetBrains Rider IDE has this neat feature to visualize project reference dependencies for large .NET projects. For example, one application I work on has 36 separate projects in it (some client libraries for third party communication, some REST projects for different domains, some EF Core projects for DB communication for different domains, some Xunit test projects, and some MQ publisher and consumer projects for EDD).

Anyway, determining project dependency (and dependencies of dependencies) paths in large .NET projects can be a pain point solved by Rider's ability to visualize project dependencies.

NOTE: Rider uses yFiles to diagram, but this SDK is not available to work with JS/TS.

Describe the solution you'd like

I would like to see flow diagram (reminiscent of the image below from Rider) to visualize project dependencies within a solution. This will help determining what other projects may be affected if I make a change to a library or client project. Using the image below as an example, if I make a change to the Example.Library1, I want to be able to visualize what other projects may be affected by that change directly AND indirectly.

image

Let's say I change Example.Library1, and the dependency flows Example.Library1 -> Example.Daemon -> Example.Main.Data, I want to see that I may need to review code/run tests/whatever else in Example.Main.Data because I made a change in Example.Library1.

To get the project diagram in Rider to see how it works:

  • open a project solution with many projects in Rider
  • Right-click any project in the explorer pane on the left
  • Select 'Tools' -> 'Show Project Diagram'
  • You can select or de-select any project in the solution and see the flow of dependencies
  • You can also click the image to click a specific project and see the direct neighbors of that project
    image

This type of visualization tool would be INCREDIBLY useful as a part of this extension for us VS Code devotees.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant