Directory folder tree in graph-view

Use case or problem

I organize relationships between files with folders.
Here’s an example directory I may have in my vault:

  • Countries/
    • Canada/
      • note1.md
    • US/
      • note2.md

When I want to visualize the connections between files with graph view, all my files are spread apart with no connections. I would like to see a tree-like structure with a Country node linked to 2 child nodes, each having a node of their own. Then those nodes might be connected if there’s a reference between the two.

Proposed solution

Add an option to show the folder tree (where folders are also nodes) in the graph view, along with the connections between files.

Current workaround (optional)

I have a “index” file in every folder, which links to index files in any child folders, and any files in its folder.
That index file is the folder’s placeholder in the graph view.