Skip to content

Augment Neo4j Browser with Zoom, DataTable and Charts

Notifications You must be signed in to change notification settings

jexp/spoon-neo4j

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spoon - A small helper script to add some niceties to Neo4j Browser

There is no spoon.
— Spoon Boy to Neo
The Matrix
hqdefault

Add Bookmarklet

Adds these features to Neo4j Browser

  • DataTable (search, sort, paginage)

  • Zoom for graphs and query plans (Hold Alt- and drag / pan)

  • Charts (Currently Line-Charts)

Just drag this link Spoon to your bookmarks toolbar.

javascript:var h=document.getElementsByTagName('html')[0];var s=document.createElement('script');s.setAttribute('src','https://code.jquery.com/jquery-3.3.1.min.js');h.appendChild(s);setTimeout(function() {var s=document.createElement('script');s.setAttribute('src','https://rawgit.com/jexp/spoon-neo4j/browser-3x/spoon.js');h.appendChild(s);},1000);
Example query for datatable and chart
match (n:Movie)<--(p:Person)
WITH n.title as title, n.released as released,toInt(avg(p.born)) as castBorn
RETURN title, released, castBorn, released - castBorn as age

Screenshots

spoon datatable
spoon charts

spoon zoom

spoon zoom plan

Credits

Uses these libraries

Note
Please support these projects

IDEAS

  • √ More chart types (pie, bar)

  • MapBox for Geo

  • Hide Property Keys

  • Add Table editor support and generate cypher statements from it (https://editor.datatables.net/)

  • Extend radial menu for nodes

  • Add Multi-Select for nodes and rels

  • Node Icons from property and inline table URL and Picture rendering

  • Use clicks on Meta-Model or Data for cypher "pattern by example"

  • Add support for arrows inline

  • Cypher to graph / graph to cypher (like in arrows)