argoproj / argoproj/argo-workflows

UI: Hide edges when filtering nodes in graph view

Open
#9,577 1 comment 3 reactions 0 assignees View on GitHub
area/ui
Dominant language
Go
Stars
17k
Forks
3.7k
Avg merge
1d 20h
Merged PRs (30d)
138

Description

# Summary

When filtering nodes, hide the graph edges as well as the nodes, or at least provide an option to toggle this behavior.

# Use Cases

Suppose I have 100 parallel nodes and I want to find the 1 node that failed, I will filter to only the failed nodes. Then I still have to scroll back and forth to find the actual node. Once I have filtered, that should simply be the only remaining node in that layer. This kind of "empty tree" view is not very helpful. (I promise, there is a failed node off to the left somewhere 😄)

![image](https://user-images.githubusercontent.com/2373399/189762725-ffcd4078-d372-448c-bead-8f83bcce85f5.png)

---

**Message from the maintainers**:

Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.

Contributor guide

Open the contributing guide

Research direction

Start by locating the graph-view node filtering and edge-rendering entry points in the repository, then reproduce the behavior described in the issue with a filtered graph. Done means filtered views hide unrelated edges or expose a toggle, while preserving the intended node layout; add or update the relevant UI test if the existing test structure supports it.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.