GraphRAG Visualizer
GraphRAG Visualizer Demo
GraphRAG Visualizer is an application designed to visualize Microsoft GraphRAG artifacts. By uploading parquet files generated from the GraphRAG indexing pipeline, users can easily view and analyze data without needing additional software or scripts.
If you are using GraphRAG 0.3.x or below, please use the legacy version of GraphRAG Visualizer available at:
GraphRAG Visualizer Legacy
Once the graphrag-api server is up and running, you can perform searches directly through the GraphRAG Visualizer. Simply go to the GraphRAG Visualizer and use the search interface to query the API server. This allows you to easily search and explore data that is hosted on your local server.
The logic for creating relationships for text units, documents, communities, and covariates is derived from the GraphRAG import Neo4j Cypher notebook.
Node | Type |
---|---|
Document | RAW_DOCUMENT |
Text Unit | CHUNK |
Community | COMMUNITY |
Finding | FINDING |
Covariate | COVARIATE |
Entity | Varies |
Source Node | Relationship | Target Node |
---|---|---|
Entity | RELATED |
Entity |
Text Unit | PART_OF |
Document |
Text Unit | HAS_ENTITY |
Entity |
Text Unit | HAS_COVARIATE |
Covariate |
Community | HAS_FINDING |
Finding |
Entity | IN_COMMUNITY |
Community |
Clone the repository to your local machine:
git clone https://github.com/noworneverev/graphrag-visualizer.git
cd graphrag-visualizer
Install the necessary dependencies:
npm install
Run the development server:
npm start
Open the app in your browser:
http://localhost:3000
To load .parquet
files automatically when the application starts, place your Parquet files in the public/artifacts
directory. These files will be loaded into the application for visualization and data table display. The files can be organized as follows:
public/artifacts/create_final_entities.parquet
public/artifacts/create_final_relationships.parquet
public/artifacts/create_final_documents.parquet
public/artifacts/create_final_text_units.parquet
public/artifacts/create_final_communities.parquet
public/artifacts/create_final_community_reports.parquet
public/artifacts/create_final_covariates.parquet
If the files are placed in the public/artifacts
folder, the app will automatically load and display them on startup.