Skip to content
No description or website provided.
Java JavaScript
Find file
Latest commit b0662fe Apr 23, 2011 @oxlade39 Added instructions
Failed to load latest commit information.
src Added instructions Apr 23, 2011
.gitignore initial import Mar 15, 2011
pom.xml adding cloudfoundry configuration and logging Apr 22, 2011 correcting images Mar 31, 2011

What is this?

Me playing around with Spring 3, Neo4j's graph database and HTML 5 canvas.


I wanted to try out graph databases and Spring 3's REST support to provide a nice web interface to editing a graph structure.


Unlike most of my work there isn't a great deal of tests. The tests included are for experimental discovery purposes. I used maven's jetty plugin to drive most of the development.

The code here is by no means production ready.

Cool stuff

Spring 3's content negotiation was really simple and means the html for the page is very lightweight. The javascript in the page just requests the same page URL but as 'text/json' and Spring's content negotiation automatically serialises the view as JSON.

HTML5 Canvas. It's suprising simple to build a nice looking dynamic page using the canvas API.

arbor.js "is a graph visualization library", you can even enable "gravity" and allow nodes to fall into place. Try dragging nodes around and let them settle.

Neo4j is a super fast, transactional graph database. The searching facilities are built on top of lucene which allows you to easily and quickly search and navigate the graph structure.


Some examples

  1. Index, list of graphs index list of graphs
  2. Default generated graph default generated graph
  3. Adding a transition adding a transition
  4. Transition added transition added
  5. Nice content negotiation. JSON backing view content negotiation
Something went wrong with that request. Please try again.