Previous: , Up: Graphing   [Contents]


12.2 Excluding Nodes and Edges

One may want to exclude certain files to declutter the graph.

User Option: org-roam-graph-exclude-matcher

Matcher for excluding nodes from the generated graph. Any nodes and links for file paths matching this string is excluded from the graph.

If value is a string, the string is the only matcher.

If value is a list, all file paths matching any of the strings are excluded.

(setq org-roam-graph-exclude-matcher '("private" "dailies"))

This setting excludes all files whose path contain “private” or “dailies”.