# harish456849/graph-bench-marking architecture

> Architecture diagram of the GitHub repository harish456849/graph-bench-marking, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/harish456849/graph-bench-marking
- Repository: https://github.com/harish456849/graph-bench-marking

## Overview

This appears to be a Java graph-database benchmarking application organized around Pokec dataset preparation/loading and database access, with Neo4j configuration and controller code. The tree supports these component roles, but no source excerpts or README relationships were provided. Dashed, unevidenced edges indicate only likely workflow connections; they should be verified against the implementation.

Main entry points: [`src/main/java/com/example/Test/GraphBenchMarkingApplication.java`](https://github.com/harish456849/graph-bench-marking/blob/main/src/main/java/com/example/Test/GraphBenchMarkingApplication.java) (Benchmark Application), [`src/main/java/com/example/Test/dataset/DatasetController.java`](https://github.com/harish456849/graph-bench-marking/blob/main/src/main/java/com/example/Test/dataset/DatasetController.java) (Dataset Controller), [`src/main/java/com/example/Test/controller/Neo4jcontroller.java`](https://github.com/harish456849/graph-bench-marking/blob/main/src/main/java/com/example/Test/controller/Neo4jcontroller.java) (Neo4j Controller), [`src/main/java/com/example/Test/dataset/PokecDatasetPreparator.java`](https://github.com/harish456849/graph-bench-marking/blob/main/src/main/java/com/example/Test/dataset/PokecDatasetPreparator.java) (Pokec Preparation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application"]
  node_benchmark_app["Benchmark Application"]
end

subgraph group_dataset["Pokec Dataset"]
  node_dataset_api["Dataset Controller"]
  node_pokec_prep["Pokec Preparation"]
  node_pokec_csv["Processed Pokec Data<br/>[pokec_300k.csv]"]
end

subgraph group_cognodb["CognoDB"]
  node_cognodb_controller["CognoDB Controller"]
  node_cognodb_loader["CognoDB Loader"]
end

subgraph group_neo4j["Neo4j"]
  node_neo4j_controller["Neo4j Controller"]
  node_neo4j_config["Neo4j Configuration<br/>[Config.java]"]
  node_neo4j_service[("Neo4j Database")]
end

node_benchmark_app -.->|"dispatches"| node_dataset_api
node_dataset_api -.->|"uses"| node_pokec_prep
node_pokec_prep -.->|"prepares"| node_pokec_csv
node_dataset_api -.->|"loads data"| node_cognodb_loader
node_cognodb_loader -.->|"reads"| node_pokec_csv
node_benchmark_app -.->|"dispatches"| node_cognodb_controller
node_benchmark_app -.->|"dispatches"| node_neo4j_controller
node_neo4j_controller -.->|"uses"| node_neo4j_config
node_neo4j_controller -.->|"queries"| node_neo4j_service

click node_benchmark_app "https://github.com/harish456849/graph-bench-marking/blob/main/src/main/java/com/example/Test/GraphBenchMarkingApplication.java"
click node_dataset_api "https://github.com/harish456849/graph-bench-marking/blob/main/src/main/java/com/example/Test/dataset/DatasetController.java"
click node_pokec_prep "https://github.com/harish456849/graph-bench-marking/blob/main/src/main/java/com/example/Test/dataset/PokecDatasetPreparator.java"
click node_pokec_csv "https://github.com/harish456849/graph-bench-marking/blob/main/data/processed/pokec_300k.csv"
click node_cognodb_controller "https://github.com/harish456849/graph-bench-marking/blob/main/src/main/java/com/example/Test/database/CognoDBController.java"
click node_cognodb_loader "https://github.com/harish456849/graph-bench-marking/blob/main/src/main/java/com/example/Test/database/CognoDBDatasetLoader.java"
click node_neo4j_controller "https://github.com/harish456849/graph-bench-marking/blob/main/src/main/java/com/example/Test/controller/Neo4jcontroller.java"
click node_neo4j_config "https://github.com/harish456849/graph-bench-marking/blob/main/src/main/java/com/example/Test/config/Config.java"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_benchmark_app toneBlue
class node_dataset_api,node_pokec_prep,node_pokec_csv toneAmber
class node_cognodb_controller,node_cognodb_loader toneMint
class node_neo4j_controller,node_neo4j_config,node_neo4j_service toneRose
```

## Components

### Application

- [Benchmark Application](https://github.com/harish456849/graph-bench-marking/blob/main/src/main/java/com/example/Test/GraphBenchMarkingApplication.java): `src/main/java/com/example/Test/GraphBenchMarkingApplication.java`

### Pokec Dataset

- [Dataset Controller](https://github.com/harish456849/graph-bench-marking/blob/main/src/main/java/com/example/Test/dataset/DatasetController.java): `src/main/java/com/example/Test/dataset/DatasetController.java`
- [Pokec Preparation](https://github.com/harish456849/graph-bench-marking/blob/main/src/main/java/com/example/Test/dataset/PokecDatasetPreparator.java): `src/main/java/com/example/Test/dataset/PokecDatasetPreparator.java`
- [Processed Pokec Data](https://github.com/harish456849/graph-bench-marking/blob/main/data/processed/pokec_300k.csv): `data/processed/pokec_300k.csv`

### CognoDB

- [CognoDB Controller](https://github.com/harish456849/graph-bench-marking/blob/main/src/main/java/com/example/Test/database/CognoDBController.java): `src/main/java/com/example/Test/database/CognoDBController.java`
- [CognoDB Loader](https://github.com/harish456849/graph-bench-marking/blob/main/src/main/java/com/example/Test/database/CognoDBDatasetLoader.java): `src/main/java/com/example/Test/database/CognoDBDatasetLoader.java`

### Neo4j

- [Neo4j Controller](https://github.com/harish456849/graph-bench-marking/blob/main/src/main/java/com/example/Test/controller/Neo4jcontroller.java): `src/main/java/com/example/Test/controller/Neo4jcontroller.java`
- [Neo4j Configuration](https://github.com/harish456849/graph-bench-marking/blob/main/src/main/java/com/example/Test/config/Config.java): `src/main/java/com/example/Test/config/Config.java`
- **Neo4j Database**

## Connections

- Benchmark Application → Dataset Controller: dispatches
- Dataset Controller → Pokec Preparation: uses
- Pokec Preparation → Processed Pokec Data: prepares
- Dataset Controller → CognoDB Loader: loads data
- CognoDB Loader → Processed Pokec Data: reads
- Benchmark Application → CognoDB Controller: dispatches
- Benchmark Application → Neo4j Controller: dispatches
- Neo4j Controller → Neo4j Configuration: uses
- Neo4j Controller → Neo4j Database: queries
