I'm new to neo4j and I'm facing issue to set the node's
label.
I create a new node using this code.
create(s:Student{id:'QWERTY',age:20,first_name:'Sachin',last_name:'Shah'})
return s.first_name
AND (without return a node data)
create(s:Student{id:'fjfktejfkahjgkjafiejg',age:20,first_name:'Sachin',
last_name:'Shah'})
By this command, I'm able to create a new node and I can see the node in a graph view.
It looks like this.
I didn't understand that why it's label is showing a blank? I need to set the user's first_name as a label while creating a new node.
I am adding an example to select a default caption. (FYI What you are asking is called caption, Label means different in Neo4j, Here "Student" is the label).
Click on the Label (Red colored selection) and select the caption property from the bottom of the tab(Blue colored selection).