Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I made two node and one relationship node: Person(Sally, John) and book(gdp) relation: HAS_READ and I wanted to see "sally-HAS_READ->gdp", "John-HAS_READ->gdp but when I wrote MATCH p=(n:Person)-[r:HAS_READ]->() RETURN n,p LIMIT 25 then there is only (no changes, no records)

If I wrote MATCH p=()-[r:HAS_READ]->() RETURN p LIMIT 25, then I can see entire entities and relation edge but entities was not clear. I can't figure out which one is john or sally, it was just gray color.

If I want to clear entity and relation edges, How could I do? ex) John -HAS_READ->gdp


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.3k views
Welcome To Ask or Share your Answers For Others

1 Answer

If the first query returned no results then you should check if your person nodes, Sally and John really have a Person label on them.

To the second part of your question, you can customise the property displayed in the visualisation. In your query results visualisation, click on the Label badge like this enter image description here and at the bottom you'll see how to pick a colour and property and so on

enter image description here

You can remove a node by clicking on it and removing it like so: enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...