microsoft / microsoft/aspire

Collapsible child resources in Graph View

Open
#10,457 4 comments 2 reactions 0 assignees View on GitHub
area-dashboard
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

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

In the Aspire dashboard, the Table View allows collapsing child resources under an application (e.g., db-migration, postgresdb). This improves clarity and navigation, especially in larger solutions. However, this functionality is missing in the Graph View. All resources are shown at once, which can lead to visual clutter.

### Describe the solution you'd like

I’d like the Graph View to support collapsing and expanding child resources, just like the Table View does. Ideally, there would be a toggle or button to show/hide dependencies or child services under a particular node. This would make the graph more manageable and readable in complex applications.

An alternative could be an automatic grouping or a filter that lets users hide specific types of nodes (e.g., databases, background jobs, etc.).

### Additional context

**Table View with collapse functionality:**

Image

**Graph View without collapse functionality:**

Image

This feature would be especially helpful when working with microservices or multiple infrastructure dependencies, where the visual graph can grow very quickly.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.