No links show in main graph view but the links do show in local graph

This is not a bug. You are searching only for the notes with a certain name and that’s the only thing you are going to get.

You may want to look into Groups.

this FR may also be of interest: Search Operators for LINKS (backlinks, forwardlinks)