# neo4j-graph-examples/movies architecture

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

- Interactive diagram: https://gitdiagram.com/neo4j-graph-examples/movies
- Repository: https://github.com/neo4j-graph-examples/movies

## Overview

This repository is a small Neo4j movie-graph example and dataset. Its main workflow is loading the graph into Neo4j, then running a recommendation query that finds movies acted in by actors from a chosen movie. The README also documents a Bloom perspective and a Browser guide, alongside equivalent query examples in five languages. The example sources show their database calls; loading and the documented resources are represented from README statements, not inspected implementations.

Main entry points: [`scripts/movies.cypher`](https://github.com/neo4j-graph-examples/movies/blob/main/scripts/movies.cypher) (Load script), [`data/movies-40.dump`](https://github.com/neo4j-graph-examples/movies/blob/main/data/movies-40.dump) (Movie dump), [`code/javascript/example.js`](https://github.com/neo4j-graph-examples/movies/blob/main/code/javascript/example.js) (JavaScript example), [`code/java/Example.java`](https://github.com/neo4j-graph-examples/movies/blob/main/code/java/Example.java) (Java example)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Graph data"]
  node_loadscript["Load script<br/>[movies.cypher]"]
  node_dump["Movie dump<br/>[movies-40.dump]"]
end

subgraph group_query["Query examples"]
  node_js["JavaScript example<br/>[example.js]"]
  node_java["Java example<br/>[Example.java]"]
  node_csharp["C&#35; example<br/>[Example.cs]"]
  node_python["Python example<br/>[example.py]"]
  node_go["Go example<br/>[example.go]"]
end

subgraph group_explore["Graph exploration"]
  node_bloom["Bloom perspective"]
  node_guide["Browser guide"]
  node_workspace["Workspace guide"]
end

node_user(("User"))
node_database[("Neo4j database")]

node_user -->|"loads graph"| node_loadscript
node_loadscript -->|"imports data"| node_database
node_user -->|"selects dump"| node_dump
node_dump -->|"loads graph"| node_database
node_user -->|"runs example"| node_js
node_user -->|"runs example"| node_java
node_user -->|"runs example"| node_csharp
node_user -->|"runs example"| node_python
node_user -->|"runs example"| node_go
node_js -->|"queries"| node_database
node_java -->|"queries"| node_database
node_csharp -->|"queries"| node_database
node_python -->|"queries"| node_database
node_go -->|"queries"| node_database
node_user -->|"explores graph"| node_bloom
node_user -->|"follows guide"| node_guide
node_user -.->|"uses workspace"| node_workspace

click node_loadscript "https://github.com/neo4j-graph-examples/movies/blob/main/scripts/movies.cypher"
click node_dump "https://github.com/neo4j-graph-examples/movies/blob/main/data/movies-40.dump"
click node_js "https://github.com/neo4j-graph-examples/movies/blob/main/code/javascript/example.js"
click node_java "https://github.com/neo4j-graph-examples/movies/blob/main/code/java/Example.java"
click node_csharp "https://github.com/neo4j-graph-examples/movies/blob/main/code/csharp/Example.cs"
click node_python "https://github.com/neo4j-graph-examples/movies/blob/main/code/python/example.py"
click node_go "https://github.com/neo4j-graph-examples/movies/blob/main/code/go/example.go"
click node_bloom "https://github.com/neo4j-graph-examples/movies/blob/main/bloom/movies.bloom-perspective"
click node_guide "https://github.com/neo4j-graph-examples/movies/blob/main/documentation/movies.neo4j-browser-guide"
click node_workspace "https://github.com/neo4j-graph-examples/movies/blob/main/documentation/movies.workspace.adoc"

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_loadscript,node_dump,node_user toneBlue
class node_js,node_java,node_csharp,node_python,node_go,node_database toneAmber
class node_bloom,node_guide,node_workspace toneMint
```

## Components

### Graph data

- [Load script](https://github.com/neo4j-graph-examples/movies/blob/main/scripts/movies.cypher): `scripts/movies.cypher`
- [Movie dump](https://github.com/neo4j-graph-examples/movies/blob/main/data/movies-40.dump): `data/movies-40.dump`

### Query examples

- [JavaScript example](https://github.com/neo4j-graph-examples/movies/blob/main/code/javascript/example.js): `code/javascript/example.js`
- [Java example](https://github.com/neo4j-graph-examples/movies/blob/main/code/java/Example.java): `code/java/Example.java`
- [C# example](https://github.com/neo4j-graph-examples/movies/blob/main/code/csharp/Example.cs): `code/csharp/Example.cs`
- [Python example](https://github.com/neo4j-graph-examples/movies/blob/main/code/python/example.py): `code/python/example.py`
- [Go example](https://github.com/neo4j-graph-examples/movies/blob/main/code/go/example.go): `code/go/example.go`

### Graph exploration

- [Bloom perspective](https://github.com/neo4j-graph-examples/movies/blob/main/bloom/movies.bloom-perspective): `bloom/movies.bloom-perspective`
- [Browser guide](https://github.com/neo4j-graph-examples/movies/blob/main/documentation/movies.neo4j-browser-guide): `documentation/movies.neo4j-browser-guide`
- [Workspace guide](https://github.com/neo4j-graph-examples/movies/blob/main/documentation/movies.workspace.adoc): `documentation/movies.workspace.adoc`

### Other components

- **User**
- **Neo4j database**

## Connections

- User → Load script: loads graph (evidence: `README.adoc`)
- Load script → Neo4j database: imports data (evidence: `README.adoc`)
- User → Movie dump: selects dump (evidence: `README.adoc`)
- Movie dump → Neo4j database: loads graph (evidence: `README.adoc`)
- User → JavaScript example: runs example (evidence: `README.adoc`)
- User → Java example: runs example (evidence: `README.adoc`)
- User → C# example: runs example (evidence: `README.adoc`)
- User → Python example: runs example (evidence: `README.adoc`)
- User → Go example: runs example (evidence: `README.adoc`)
- JavaScript example → Neo4j database: queries (evidence: `code/javascript/example.js`)
- Java example → Neo4j database: queries (evidence: `code/java/Example.java`)
- C# example → Neo4j database: queries (evidence: `code/csharp/Example.cs`)
- Python example → Neo4j database: queries (evidence: `code/python/example.py`)
- Go example → Neo4j database: queries (evidence: `code/go/example.go`)
- User → Bloom perspective: explores graph (evidence: `README.adoc`)
- User → Browser guide: follows guide (evidence: `README.adoc`)
- User → Workspace guide: uses workspace
