Yes. There is not a hard limit but the performance of graph view degrades with the number of notes. I don’t think anything above 25K files is practical with a modern desktop computer.
This is not a bug but a current limitation. Feel free to search/open a FR asking to optimize global graph view to work with larger vaults.