Convert graph filters/settings to query

Use case or problem

Sometimes I would like to take the settings in graph view (local or global) like incoming/outgoing link toggles, existing file toggle, depth, search filters, etc. and be able to see the results list in a more understandable form.

Proposed solution

One possible solution would be the ability to generate a query or even just a piece of unintelligible code that could be pasted within an embedded note query, and when in preview mode would mirror the settings in your graph view when you generated it. It wouldn’t be a snapshot in time but rather act like a query adapting to the evolving vault. To be clear, this would not show the graph, but rather a list of all notes that would be visible in graph view had you set the same settings from when you generated the code/query.

Current workaround (optional)

Screenshot of graph view.