Hiding attachment paths from graph view

Hi! I’d like to find a way to hide paths from attachment names in graph view, and have only the file names displayed. I’ve found two similar topics, but both were closed before a solution was found :

Does anyone know how to change the title display?

Thanks!

I don’t know a way. There is an open feature request here: Short Paths in Graph View

Personally, I just hide attachments in the graph.