Hi pinklizard, thanks for your question and welcome to the Obsidian community!
Sure, you can easily include or exclude notes from the graph view by using the Filter field in the upper left corner. For example, to exclude all notes in the Templates folder, you could use the following filter:
-path:Templates/