# Graph nodes not excluded on file-level graphs

**URL:** <https://org-roam.discourse.group/t/graph-nodes-not-excluded-on-file-level-graphs/1002>\
**Category:** Troubleshooting\
**Created:** [November 27, 2020, 12:06pm UTC](https://org-roam.discourse.group/t/graph-nodes-not-excluded-on-file-level-graphs/1002 "2020-11-27T12:06:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![doubleloop](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/doubleloop/32/99_2.png) [@doubleloop](https://org-roam.discourse.group/u/doubleloop)\
**Post date:** [November 27, 2020, 12:06pm UTC](https://org-roam.discourse.group/t/graph-nodes-not-excluded-on-file-level-graphs/1002/1 "2020-11-27T12:06:24Z")

</div>

I have my `org-roam-graph-exclude-matcher` set up like so:

```auto
(setq org-roam-graph-exclude-matcher '("index" "recentchanges"))

```

If I run `org-roam-graph` with no arguments, the graph excludes the nodes.

If I run `org-roam-graph` with the universal argument, to run on just the current file (as per [https://github.com/org-roam/org-roam/blob/master/org-roam-graph.el#L286](https://github.com/org-roam/org-roam/blob/master/org-roam-graph.el#L286)) , these nodes aren’t excluded.

Is it possible for file-level graphs to also exclude the nodes in the exclude matcher?

---

<div class="post-metadata">

**Author:** ![gcoladon](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/gcoladon/32/976_2.png) [@gcoladon](https://org-roam.discourse.group/u/gcoladon)\
**Post date:** [March 29, 2021, 6:40am UTC](https://org-roam.discourse.group/t/graph-nodes-not-excluded-on-file-level-graphs/1002/2 "2021-03-29T06:40:16Z")

</div>

I am interested in this topic as well. The current functionality seems like a bug, yes? Why should the excluded matches only be excluded from full-graph charts and not limited-graph charts?

---

<div class="post-metadata">

**Author:** ![gcoladon](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/gcoladon/32/976_2.png) [@gcoladon](https://org-roam.discourse.group/u/gcoladon)\
**Post date:** [November 28, 2021, 12:59am UTC](https://org-roam.discourse.group/t/graph-nodes-not-excluded-on-file-level-graphs/1002/4 "2021-11-28T00:59:51Z")

</div>

Has the variable `org-roam-graph-exclude-matcher` been removed completely in Org Roam v2?

I have weekly / monthly files, instead of daily ones, and their presence anywhere in graph being graphed results in an immense expansion of the graph, beyond what I would personally desire.
