- Building Web Applications with Python and Neo4j
- Sumit Gupta
- 385字
- 2021-07-16 13:39:14
Running queries from the Neo4j browser
In the previous sections, we saw the results of our Cypher queries in the console (the Neo4j console) and JSON (REST) format, but both of these formats do not provide enough visualization. Also, as data grows, it becomes even more difficult to analyze the nodes and their relationships.
How about having a rich user interface for visualizing data in a graph format—a series of connected nodes? It will be awesome…correct?
Neo4j provides a rich graphical and interactive user interface for fetching and visualizing the Neo4j graph data, the Neo4j browser. The Neo4j browser not only provides the data visualization, but, at the same time, it also provides insights into the health of the Neo4j system and its configurations.
Let's perform the following steps for executing a Cypher search query from our Neo4j browser, and then visualize the data:
- Assuming that your Neo4j server is running, open any browser such as IE, Firefox, Mozilla, or Safari on the same system on which your Neo4j server is installed, and enter the URL,
http://localhost:7474/browser
in the browser navigation bar. Now press Enter. - Next, enter the server username and password on the login screen (which we created/changed during the Neo4j installation), and click Submit.
- Now, click on the star sign in the panel on the extreme left-hand side, and click Create a node from the provided menu.
- Next, enter the following Cypher query to create data in the box provided below the browser's navigation bar (besides
$
):CREATE (movies:Movie {Name:"Noah", ReleaseYear:"2014"});
. Now click on the right arrow sign at the extreme right corner, just below the browser's navigation bar. - Click on Get some data from the panel on the left-hand side, and execute the following Cypher query to retrieve the data from the Neo4j database:
"MATCH (n) return n;
. You will see the following results:
And we are done! You can also execute the REST APIs by clicking on the REST API or see the relationships by clicking on What is related, and how.
There are many other rich, interactive, and intuitive features of the Neo4j browser. For the complete list of features, execute :play intro
in the same window where you executed your Cypher query and it will walk you through the various features of the Neo4j browser.
- 玩轉Scratch少兒趣味編程
- GraphQL學習指南
- Vue.js 3.x從入門到精通(視頻教學版)
- C語言程序設計基礎與實驗指導
- Bulma必知必會
- Instant QlikView 11 Application Development
- 信息技術應用基礎
- Python Web數據分析可視化:基于Django框架的開發實戰
- Mastering Unity 2D Game Development(Second Edition)
- Python語言科研繪圖與學術圖表繪制從入門到精通
- Exploring SE for Android
- Java EE 7 with GlassFish 4 Application Server
- Python Digital Forensics Cookbook
- Puppet 5 Beginner's Guide(Third Edition)
- C語言編程魔法書:基于C11標準