No description, website, or topics provided.
Java JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

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