So I checked it out. UbiGraph is a graph rendering server that is controlled remotely and also interactively with a XML-RPC API (which is a weird choice).
It comes with example clients in Java, Python, Ruby and C.
You can download it from here. After unzipping the file and starting bin/ubigraph_server &, you should see a black window rendering the void, waiting for your commands.

You can run the Python example with python lang/Python/example.py, you should run the other examples as well, just for fun. The Python example collection is most comprehensive.

In general the API is pretty straightforward, there is also a PDF refcard in the download.

new_vertex(), new_vertex_w_id(id) create node

new_edge(from,to) create relationship

set_[vertex|edge]_attribute(id,attribute,value) style a node or relationship

style attributes can be shape (sphere,cone,box,…), size (something around 1.0), color (hex), label, visible and for relationships also spline,oriented,stroke,width and more

generalize styles with new_[vertex|edge]_style(parent_style) create a new style with attributes, ineriting from a parent, or root (parent-id 0)

I show how to access UbiGraph from Java, but it is of course much simpler in Ruby with neography or py2neo with each of the drivers.

Rendering Neo4j is pretty straightforward:

we just connect to Neo4j,

run a cypher query to return the graph structure and

send it to UbiGraph using the API outlined above.

UbiGraph comes with a Java connector in UbigraphClient.java with the mentioned API methods. It uses the Apache XmlRpc library, which you can pull in via Maven or download here (the official links are broken).

Here is a minimal query that only loads the structure without any further information. You could choose to load the additional information using the interactive features of UbiGraph,
which I don’t cover here.

MATCH (n)-->(m)
RETURN id(n) as start_id, id(m) as end_id

I used more detailed graph information from the beginning. This cypher query is broader, it loads nodes, their relationships to other nodes (if any) and meta-data like id’s labels and relationship-types.