Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.2k views
in Technique[技术] by (71.8m points)

neo4j browser doesn't visualize pro

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...