1

I'm quite novice to neo4j. I would like to find out if I can query a neo4j database from a ruby on rails application and use the result to make a graph visualization in my application. I have looked at d3.js, that problably can do it. I would just like to know if it possible to use GraphGist in a ruby on rails application and make a graph visualization as can be seen here. If I can use GraphGist where can I find more information how to use in a ruby on rails project? If I cannot use GraphGist would d3.js be a good choice of vizualizing neo4j graphs in a Ruby on Rails project?

anothermh
  • 9,815
  • 3
  • 33
  • 52
  • Doesn't neo4j come with its own d3.js visualiation frontend? http://neo4j.com/developer/guide-data-visualization/ – Bibek Shrestha Oct 24 '14 at 16:20
  • Maybe they use it in the http://localhost:7474/browser/, but I want to represent a visualization of a graph pattern into my web page that is similiar to or exactly the same graph representation as there is in `http://localhost:7474/browser/` – James Ramsfield Oct 25 '14 at 10:06
  • There are already several SO questions and answers about this topic: http://stackoverflow.com/questions/22772701/neo4j-visualisation-manipulate-the-graph/22782859#22782859 , http://stackoverflow.com/questions/21893401/interactive-and-dynamic-graph-visualization/21907330#21907330 , http://stackoverflow.com/questions/14867132/is-d3-js-the-right-choice-for-real-time-visualization-of-neo4j-graph-db-data/23522907#23522907 – MarcoL Oct 27 '14 at 14:29

1 Answers1

1

I wrote a simple single html page Neo4j console that you can use to learn how do to it.

The master branch uses the alchemy.js library http://jexp.github.io/cy2neo

And the neod3 branch uses the visualization from the graphgist project.

If you clone it locally and check out that branch and run the file in a browser you should be able to see the visualization.

Michael Hunger
  • 41,339
  • 3
  • 57
  • 80