I can write [[cornchip]] and I will get a link to the markdown file cornchip.md. I would like functionality so that I can write something like [[cornchip|open=localgraph]] (or whatever) so that when I click on it, I get the local graph for the file cornchip.md.
As far as I know, for the local graph to work, the note needs to be open in a tab somewhere anyway.
I know this doesn’t answer your specific request, but many folks keep the local graph in the left or right sidebar. You can set hotkeys to toggle the left or right sidebar open or closed. You open a note, open the right sidebar, (if it’s not already open), and your local graph is there and ready to go.