Sure. You can do it externally (outside of Obsidian). If you’re on a Mac:
- Open Terminal app
- type: cd vault_directory
(Where “vault_directory” is the root directory of your vault) - type: egrep -roI ‘\[\[[^]|^]+’ | sed ‘s/:\[\[/ -> /’
This is a rough solution I whipped up in 5 minutes; it does not capture external links because when I finished this, I realized that external links have a slightly different grammar. But you can capture those as well using the same method. Header and block links are captured, and will appear as duplicate edges in the output. Just add " | sort -u" to the end of that command if you don’t want the duplicates.
Edit: typo