Reputation: 527
When you add a Node to Neo4j and you access your graph via the Neo4j Browser, the Node that was created is displayed (as a circle) and the Name property is outputted as the primary property for the Node. You can tell which Nodes are which by the name field, without having to click on them. If you do not specify a Name property, the node is just a blank circle.
I'm wondering if there is a way to specify the default "label" when visually viewing a graph via the Browser, so that I don't have to use the "name" property in order to know which Nodes are which?
Upvotes: 19
Views: 13160
Reputation: 1
version: Neo4j 4.1.2
SELECT OBJECT In you browser, after a request, go to the top left corner, just below the query bar. There, the names of displayed objects should appear. Select the object whose label you want to display.
DEFINE CAPTION FOR THE SELECTED OBJECT As soon as you have selected your object, at the bottom of your browser a new menu appears. You may have to expand that menu by clicking the little triangle on the far right. In that menu, you can define the [CAPTION] (ie. the label to display on the node), its [COLOR] and [SIZE]... Just click with your mouse.
Upvotes: 0
Reputation: 141
Check my attached image for any doubt on where to change label.
Upvotes: 13
Reputation: 1103
This is quite simple to achieve.
Upvotes: 42