Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/merqurio/neo4jupyter
A quick visualization tool for Jupyter and Neo4J
https://github.com/merqurio/neo4jupyter
graph jupyter neo4j visjs visualization
Last synced: 3 days ago
JSON representation
A quick visualization tool for Jupyter and Neo4J
- Host: GitHub
- URL: https://github.com/merqurio/neo4jupyter
- Owner: merqurio
- License: mit
- Created: 2016-04-15T11:05:41.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-05-12T07:31:14.000Z (over 4 years ago)
- Last Synced: 2025-01-02T00:08:48.296Z (10 days ago)
- Topics: graph, jupyter, neo4j, visjs, visualization
- Language: Python
- Homepage:
- Size: 162 KB
- Stars: 136
- Watchers: 12
- Forks: 30
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-starred - merqurio/neo4jupyter - A quick visualization tool for Jupyter and Neo4J (others)
README
# neo4jupyter
A tool to visualize graph database queries from Neo4j in the Jupyter Notebook.
#### Install
`pip install neo4jupyter`#### Docs
First thing you must do is call the `neo4jupyter.init_notebook_mode()` to load all the javascript.
```python
import neo4jupyter
neo4jupyter.init_notebook_mode()
```Drawing a graph it's as easy as giving the funcion `neo4jupyter.draw()` the [py2neo](http://py2neo.org/v3/) graph object and the parameters that you want to be displayed. An example of the settings for the [movie graph tutorial](https://neo4j.com/developer/example-project/), `options = {"Movie": "title", "Person": "name"}` will show the nodes `Person` and `Movie` by title and name consecutively and their connexions.
```python
neo4jupyter.draw(graph_object_py2neo, {"Nodes_type": "Att", …})
```I encourage you to read the [neo4jupyter.py](https://github.com/merqurio/neo4jupyter/blob/master/neo4jupyter.py) file, is small and subject to be enhanced.
#### Licence
The MIT License (MIT) | See LICENSE.md
Copyright (c) 2015, 2016, 2017, 2018 Gabriel de Maeztu, Marcus Rehm, Bruce Lowther