Skip to content

Persistent graph type filters in settings.json #1574

Description

@R0G3R-V

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

  1. Using foam.files.ignore to exclude files - but this removes them from linking entirely, not just from the graph view.
  2. Manually unchecking filters every session - this is the current workaround but very tedious.
  3. Creating a separate workspace with fewer files - not practical for integrated knowledge management.

Screenshots or Videos

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    foam-datavizRelated to data visualization

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions