How to show graph of nodes/relationships in Neo4j Browser


How to show graph of nodes/relationships in Neo4j Browser



Basic question: I've figured out how to use the Neo4j Desktop/Browser to run some of the sample graphGists code. However, I can't figure out how to see the database graphcically (circles for nodes, lines for connections) within the Browser. Is this even possible to do? If so, tips much appreciated.



I'm using a Linux laptop.



Thanks!



Kurt





You need to issue a query that returns nodes and relationships, or paths. You might want to take a look at the Movies graph for examples (use :play movies) in the browser
– InverseFalcon
Jun 25 at 4:33


:play movies




2 Answers
2



By default there is a web browser if you go to port 7474 of your server IP or http://localhost:7474 in case of default installation



If you want to write your own version of the same (why?) Take up any JS graph library and you can achieve similar visuals in result





Thanks for your comments. But I think the issue is more query based.
– user2469310
Jun 25 at 7:01





Thanks for your comments. But I think the issue is more query based. I ran the commands in from sample code in a Help example, I created nodes and relationships for the movie Matrix. When I ran the code, I found that the "Graph" option in the left bar appears as shown in the link below. I don't get that icon (or the stuff to its right) when I experiment with the graphGists. Any ideas what's going on? Thanks again! photos.app.goo.gl/VRJnbYCor1DQGohu8
– user2469310
Jun 25 at 7:08



To answer your question - yes it's possible to visualize the entire database:


MATCH (n) RETURN n



If the problem persists, try to isolate the issue by trying a node-only query e.g. MATCH (node) RETURN node LIMIT 10



Try limiting the results of your query to 300 and check if the graph works.



Please share your query, it may be a cypher issue.



Note: Wanted to leave a comment, don't have enough rep.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Comments

Popular posts from this blog

paramiko-expect timeout is happening after executing the command

Export result set on Dbeaver to CSV

Opening a url is failing in Swift