Exclude a specific tag from the graph view

Use case or problem

I tag almost every note with a #note-status/<some status> or #note-type/<some type>. That way I can use the pretty nice tag pane to quickly locate notes of a specific status or type while letting them be located in one folder.
In graph view that causes these tags to be really huge nodes because almost every note is connected to it. This also distorts the graph view (not in a bug-type way but because of these many connections to those few tags).

Proposed solution

What I’d like to do is to exclude specific tags from the graph view. I do not want to filter the files, which have those tags (that is already possible by using -tag:#tag) but I just want to exclude those above-mentioned tags from being viewed. So that I don’t see the many connections and the graph view behaves as if those files would not be tagged by those tags.
And it would differ from disabling ALL the tags because I also have some normal topic tags, like #learning or similar that I do want to see in the graph view.

(I spent quite a bit of time searching most of the graph-view related posts but could not find this kind of request. Sorry, if I had missed it anyways.)


+1 for this request.

This feature can help me focus my attention on a specific topic at a time, because sometimes the graph can get overwhelming. There are times when I’d like to exclude certain tags & folders from graph view, since not all of them have the same importance. It also helps to isolate certain topics in order to better understand their connections.

+1 too. I have a templater command in the tag: frontmatter of on of my templates and it leads to every string in the command being counted as a tag. Not really ideal

1 Like

+1 for this request

I was about to suggest this lol.
Here’s how I worded it:

-Ability to filter something out, not just filter. For example, when using Google, site:website.com “keyword,” except it would be -keyword as an additional feature. So you could do site:website.com “keyword” and -keyword.

-Ability to filter multiple things at once. Filtering out multiple keywords and filtering multiple keywords. For example, using the Google site search analogy, site:website.com “keyword 1” “keyword 2” -keyword 3 -keyword 4.

+1 for this request

+1, this would be very useful!

+1 for this feature as I also tag all my notes with the name of the vault (in-case I want to merge two vaults), so this tag node is proportionately giant.

This is already possible! Check this post for more information!

Basically, Obsidian does support exclusion of tags and paths. For example, I have a lot of webpages downloaded as .md that I keep for archival purposes. Since these are external sources, I mark them with #external. I don’t want these to appear on my graph view so I can just add “-tag:#external” in the “Search Files” box and it excludes every file with that tag. Cheers :3 Thanks to the OP of the thread I linked.

1 Like

Unfortunately, this solution doesn’t quite exactly fit my needs. I may have to turn to a plugin to support this.

To provide clarity on my use-case, I have a single vault where every note created is tagged with the basename of the vault (e.g., if the vault’s name is “Literature”, then every note that resides in this vault has the tag “#literature”).

If I then open the graph view, I would like to view all the notes and their associated tags without the “#literature” tag node being displayed for several reasons: (1) it is disproportionately large in-comparison to the other tags I use in the vault, and (2) it does not provide me any meaningful information at this level of viewing.

When using the not operator on the search term with -tag:#literature, all of the notes tagged with this tag (i.e., my entire vault) do not show. I would prefer to have a “hide” list that would not necessarily filter off the tag but hide the tag itself.

Regardless, I appreciate the reply @disastro, still useful for quickly finding the opposite!