Skip to content

A quick visualization tool for Jupyter and Neo4J

License

Notifications You must be signed in to change notification settings

ryan623555007/neo4jupyter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

neo4jupyter

A tool to visualize graph database queries from Neo4j in the Jupyter Notebook.

Install

pip install neo4jupyter

screen shot 2016-04-15 at 13 13 33

Docs

First thing you must do is call the neo4jupyter.init_notebook_mode() to load all the javascript.

import neo4jupyter
neo4jupyter.init_notebook_mode()

Drawing a graph it's as easy as giving the funcion neo4jupyter.draw() the py2neo graph object and the parameters that you want to be displayed. An example of the settings for the movie graph tutorial, options = {"Movie": "title", "Person": "name"} will show the nodes Person and Movie by title and name consecutively and their connexions.

neo4jupyter.draw(graph_object_py2neo, {"Nodes_type": "Att", …})

I encourage you to read the 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

About

A quick visualization tool for Jupyter and Neo4J

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 87.7%
  • HTML 12.3%