Type to search when in graph view

Use case or problem

When opening the graph view, I usually filter the files to more easily find what I need. To do this, I need to click the cog wheel, select Filters, and type the search term.

Proposed solution

When in graph view, immediately initiate a filter when the user starts typing. For example, the graph view is open on screen, and the user types the word “metal”. The graph instantly filters the files with this term. This does not require any other key strokes or mouse clicks.

Current workaround (optional)

Using the cog wheel, which requires mouse input.

5 Likes

I like the idea about typing in the graph view to search for notes. But as for the filtering part, I would suggest something a bit different: Do not filter anything away from the current graph view, but instead highlight all nodes that match what you have typed, and if some nodes are not visible, pan and zoom the view so that it includes all the highlighted nodes.

I’d like to quickly search notes in the graph, but I don’t want to filter other notes out, because I still want to see all the relations and “the big picture”. I just need this kind of feature to see where a specific note(s) is located in the graph. And this is just temporary searching.

I use the current filtering system for a different thing: to define permanent filters to exclude notes that I’m not interested to see in the graph ever. I only rarely go to edit this filter. That’s why I’d like to have a separate “temporary quick search” feature in the graph view.

Would there be a way to implement both my suggestion and @Block6791’s suggestion? Perhaps a setting that defines how the “quick search” thing should work?

4 Likes

I would love to see this feature. When I search the graph view I often find myself wishing I could just highlight results rather than disappearing everything that doesn’t fit my search terms.

1 Like

I guess this is related to the general ability to navigate obsidian via keyboard only, will love this feature too