Neo4j 2.0.1 Browser - Show Node Properties (In addition to property ID)

I am new to Neo4j. I am using v2.0.1. By default, only the identification properties of nodes in the db graph are displayed in the application flow (output) section of the browser. I have added several nodes with additional properties and relationships. When the graph is displayed in the stream window, I only see the default identifier inside the node images. When I click on node, a popup will display all my properties.

I would like to know if there is a setting or style to cause the display of a more useful property, so that the visible nodes of the graph can be seen in a more useful way in the Neo4j browser.

thanks

+7
neo4j
source share
4 answers

Currently, you can display node-property OR node-id as a title, use the popup dialog that appears when you click node or relations.

The style is customizable for each type of label and saved as a graph style sheet (GRASS) in the local storage of your browsers. You can also download these files to edit them and drag them to load them again.

enter image description here

+11
source share

While the accepted answer is correct, it does not tell the novelty HOW to do this. I had the same problem and found this answer.

In the browser graph of version 2.0.1, you can click on the object name at the top of the graph. At the bottom of the graph, the parameters of the size of the circles / nodes and the color of the circle / nodes are displayed. To the right of this is the option to select another property to display on the chart.

+15
source share

The question is asked for version 2.0.1. But this may help those using a later version. For 2.2.5, you can download the grass file from the Favorites tab.

Download the existing grass file. Change the "caption" properties for your corresponding label

for example: Change

caption: '{name}'; to caption: '{title}'; 

Run the .grass file again to download it, and your changes will be reflected.

+3
source share

You can show various properties of nodes. You should do the following (at least in Neo4j 1.9.x):

  • Click "Style" in the upper right corner.
  • Click "New Profile"
  • Change the shortcut, for example. "{name}" to show the name property
  • Save!

Here's what label formatting looks like:

enter image description here

+2
source share

All Articles