When to Use Graphs in RAG:
A Comprehensive Analysis for Graph Retrieval-Augmented Generation