Draw/Display nodes on button click

Hi,

In the editor, we are able to visualize the nodes.

Is there any way, that during the game a player could click on any key and visualize the graph?

The purpose of this is to allow the user to see on which nodes they can spawn objects on and also walk on. So they can easily, for example, click “CAPSLOCK” to toggle the graph.

Thanks!