Visualising nodes and properties saved in neo4j

151 views
Skip to first unread message

Souciance

unread,
May 15, 2012, 7:23:44 AM5/15/12
to Neo4j
Hello,

I am new to neo4j and interested in trying it out on my own for a
specific task. However, afterwards I would like like to visualise the
graph itself, which is saved in the database. I would like to see how
the nodes are connected and which properties they have and the
relationships involved. Does neo4j have any reporting/visualizer tool
or is it best to lookup third party tools? Any recommendations?

Br
Souciance

Peter Neubauer

unread,
May 15, 2012, 7:53:10 AM5/15/12
to ne...@googlegroups.com
Well, neo4j server is featuring a built-in visualization, see for
instance Andreas webinar, second half,
http://video.neo4j.org/ajgJ/how-to-get-started-with-neo4j-209/

Also, I just wrote a small post on visualizing your graph in GraphViz,
see http://blog.neo4j.org/2012/05/graph-this-rendering-your-graph-with.html

And there is GraphML export, see
http://docs.neo4j.org/chunked/snapshot/gremlin-plugin.html#rest-api-emit-a-sample-graph
which lets you import the data into e.g. http://www.r-project.org/.

Also, there is a Gephi plugin for neo4j, see
https://gephi.org/plugins/neo4j-graph-database-support/

Does that help?

Cheers,

/peter neubauer

G:  neubauer.peter
S:  peter.neubauer
P:  +46 704 106975
L:   http://www.linkedin.com/in/neubauer
T:   @peterneubauer

If you can write, you can code - @coderdojomalmo
If you can sketch, you can use a graph database - @neo4j

Michael Hunger

unread,
May 15, 2012, 8:20:52 AM5/15/12
to ne...@googlegroups.com
You can also use neoclipse to visualize the graph: https://github.com/neo4j/neoclipse/downloads

And depending on your language the collection of examples on http://maxdemarzi.com might also be useful.

Cheers Michael

Peter Neubauer

unread,
May 15, 2012, 8:22:10 AM5/15/12
to ne...@googlegroups.com
Sorry,
forgot these. the list can be made quite long :)

Cheers,

/peter neubauer

G:  neubauer.peter
S:  peter.neubauer
P:  +46 704 106975
L:   http://www.linkedin.com/in/neubauer
T:   @peterneubauer

If you can write, you can code - @coderdojomalmo
If you can sketch, you can use a graph database - @neo4j


Friso van Vollenhoven

unread,
May 16, 2012, 3:39:18 AM5/16/12
to ne...@googlegroups.com
Hi,
Depending on the size of the graph, visualizing the full graph can be problematic sometimes (things get cluttered). Because of this I use a HTML / JavaScript based visualization that allows you to enter a Cypher query and will display the results. Also, you can add the results of subsequent queries to what you already have on screen. It's very basic.

Code is here: https://github.com/friso/graphs/tree/master/viewer There are some slides and a screen cast of it in action here: http://www.slideshare.net/fvanvollenhoven/nosql-war-stories-preso-hadoop-and-neo4j-for-networks (skip to slide 13).

It connects to the REST API on localhost. You need to make sure you don't run into cross origin problems with the appropriate config for your browser. If you use this, you'll probably want to tweak it a bit toward your usage. (Disclaimer: I only tested this in Chrome on a Mac, but it uses jQuery so it should be OK cross browser.)

Let me know if it's useful or if you have any questions.


Cheers,
Friso

Souciance

unread,
May 16, 2012, 3:40:38 AM5/16/12
to ne...@googlegroups.com
Thanks a lot for the replies! I will for sure check them out. Most likely I will be working on this during the summer. If successful I will put it somewhere so you can have a look at the final product ;)

Cheers
/Souciance

Peter Neubauer

unread,
May 16, 2012, 8:26:29 AM5/16/12
to ne...@googlegroups.com
That would be terrific Souciance!

Cheers,

/peter neubauer

G:  neubauer.peter
S:  peter.neubauer
P:  +46 704 106975
L:   http://www.linkedin.com/in/neubauer
T:   @peterneubauer

If you can write, you can code - @coderdojomalmo
If you can sketch, you can use a graph database - @neo4j


Reply all
Reply to author
Forward
0 new messages