Persistent graph type filters in settings.json
Author: R0G3R-VCreated Jan 25, 2026Updated Jan 26, 2026
Labelsfoam-dataviz
Is your feature request related to a problem? Please describe.
Yes. The graph view type filters (checkboxes like "asset", "daily-note", "task", etc.) reset to default every time VS Code is reloaded. I manage a large vault with 50+ note types and need to manually uncheck ~30 types every session to see the relevant knowledge graph. This is frustrating and time-consuming.
Describe the solution you'd like
Add a new setting in settings.json to persist the graph type filters:
"foam.graph.typeFilters": { "asset": false, "attachment": false, "daily-note": false, "task": false, "template": false, "raw_data": false, "changelog": false }
This way, users can configure which types are visible by default in the graph.
Describe alternatives you've considered
- Using foam.files.ignore to exclude files - but this removes them from linking entirely, not just from the graph view.
- Manually unchecking filters every session - this is the current workaround but very tedious.
- Creating a separate workspace with fewer files - not practical for integrated knowledge management.
Screenshots or Videos
No response
Source: foambubble/foam