Skip to content

Commit

Permalink
Merge pull request #39 from prrao87/update-visualization
Browse files Browse the repository at this point in the history
Update visualization with Kùzu Explorer image
  • Loading branch information
prrao87 authored Jun 18, 2024
2 parents 4fd110c + 87a9d0d commit 9f30f05
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 2 deletions.
Binary file modified assets/person-person.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 12 additions & 1 deletion kuzudb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,18 @@ The script `build_graph.py` contains the necessary methods to connect to the Kù
python build_graph.py --batch_size 50000
```

### Ingestion performance
## Visualize graph

The provided `docker-compose.yml` allows you to run [Kùzu Explorer](https://github.com/kuzudb/explorer), an open source visualization
tool for KùzuDB. To run the Kùzu Explorer, install Docker and run the following command:

```sh
dockercompose up
```

This allows you to access to visualize the graph on the browser at `http://localhost:8000`.

## Ingestion performance

The numbers shown below are for when we ingest 100K person nodes, ~10K location nodes and ~2.4M edges into the graph.

Expand Down
10 changes: 10 additions & 0 deletions kuzudb/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
services:
explorer:
image: kuzudb/explorer:latest
restart: unless-stopped
environment:
- MODE=READ_ONLY
ports:
- 8000:8000
volumes:
- ./social_network:/database
6 changes: 5 additions & 1 deletion neo4j/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ The script `build_graph.py` contains the necessary methods to connect to the Neo
python build_graph.py
```

### Ingestion performance
## Visualize graph

You can visualize the graph in the Neo4j browser by a) downloading the Neo4j Desktop tool, or b) in the browser via `http://localhost:7474`.

## Ingestion performance

The numbers shown below are for when we ingest 100K person nodes, ~10K location nodes and ~2.
4M edges into the graph. Note the following points:
Expand Down

0 comments on commit 9f30f05

Please sign in to comment.