I want to set the text on the node
I have a example,node is created,but it is bare in graph,only a circle without a text.
merge(n1 {label:'me'})
return n1
I expect a text on the node. actually,result is like this: bare node image
what I expected is: node with text
I know I can creat a node with text like this:
MERGE (michael:Person { name: 'Michael Douglas' })
RETURN michael
Text will be Michael Douglas node with name
But if I change it to:
MERGE (michael:Person { name1: 'Michael Douglas' })
RETURN michael
No text! no text
or:
MERGE (michael:Event { name: 'Michael Douglas' })
RETURN michael
Text is a number 35 number text
So what is the principle of setting text?Why sometimes it will use the name of person,sometimes it is a number of internal id?sometimes it is bare?
Are there some rules?some document to tell?