Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tomasonjo/grand-sigmajs

Network visualizations with SigmaJS and GrandStack (GraphQL + React + Apollo + Neo4j)
https://github.com/tomasonjo/grand-sigmajs

apollo grandstack neo4j react sigmajs

Last synced: 2 months ago
JSON representation

Network visualizations with SigmaJS and GrandStack (GraphQL + React + Apollo + Neo4j)

Awesome Lists containing this project

README

        

# Grand SigmaJS

This project is a demo application for network visualizations using https://www.sigmajs.org/[SigmaJS] and the https://grandstack.io[GRANDstack] (GraphQL, React, Apollo, Neo4j Database) application. SigmaJS can be used to visualize networks with thousands of nodes and relationships.
The blog posts that describes this project can be found on Medium: https://towardsdatascience.com/grand-sigmajs-c475ec0bde68

The dataset contains flight routes between airports and is based on the https://openflights.org/[Open flights dataset].
The GraphQL endpoint is using the https://github.com/neo4j/graphql[Neo4j Graphql] library.

Start the project with:

```
docker-compose up
```
### Macbook M1 users

Pull arm neo4j image
```
docker pull neo4j/neo4j-arm64-experimental:4.2.11-arm6
```

Replace in docker-compose.yml

```
neo4j:
image: neo4j/neo4j-arm64-experimental:4.2.11-arm64
```

## Seed data

Run the following command

```
cat seed_data.cql | docker exec -i neo4j cypher-shell -u neo4j -p letmein
```

Or if you are on windows

Open Neo4j Browser at localhost:7474. Login using username "neo4j" and password "letmein".
Execute the queries stored in the `seed_data.cql`