I am new to Neo4j. I am using v2.0.1. By default the browser application's stream (output) section only displays the ID properties of the nodes in the graph db. I have added several nodes with additional properties and relationships. When the graph is displayed in the stream window I only see default ID inside of the node pictures. When I click on the node a popup will show all my properties.
I would like to know if there is a configuration or style setting to cause a more useful property to be displayed so that the visible graph's nodes can be seen in a more useful way in the Neo4j browser.
thanks
Neo4j Browser is the easiest way to access a Neo4j database. To establish a connection, you enter the DBMS URL, the name of the database you want to connect, and the user credentials. You can also use the :server command to manage the connection to Neo4j.
Properties Properties are key-value pairs that are used for storing data on nodes and relationships. The value part of a property: Can hold different data types, such as number , string , or boolean .
However, you can use Neo4j Browser Sync to save Cypher scripts from your Sandbox. We recommend you use the Neo4j Desktop or Neo4j Aura for a real development project. The Sandbox is intended as a temporary environment or for learning about the features of Neo4j as well as specific graph use-cases.
While the accepted answer is correct, it doesn't show how to do it.
Since Neo4j Browser version v2.0.1, you can click on the label name at the top of the graph, options for size, color, and caption of the nodes appear at the bottom of the graph. Change the caption option to select a different property to display in the graph.
Here's a screenshot taken from Neo4j Browser v4.0.3.
Currently you can only display node-property OR node-id as caption, use the popup dialog that shows when you click on a node or relationship.
The styling is configured per Label type and stored as a graph style sheet (GRASS) in your browsers local storage. You can also download these files to edit them and drag to upload them again.
The question is asked for version 2.0.1 But this may help who uses a later version. For 2.2.5 You can download the grass file from the Favorites tab.
Download the existing grass file. Change the property 'caption' for your respective label
eg: Change
caption: '{name}'; to caption: '{title}';
Drop the .grass file again to upload it and your changes will be reflected
You can show different properties of the nodes. You should do the following (at least in Neo4j 1.9.x):
This is what the label formatting looks like:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With