how to find 2nd level of connections in neo4j?
问题 My neo4j graph shows like below.. 300 is connected to 100 and 100 is connected to 201 and 400 . I want to find out the 2nd level of connectivity in neo4j. For example: the 2nd level of node for 300 should return me 201 and 400 Is it possible in neo4j? when I use below cypher query: MATCH (n)-[:CALLED*2]-(result) WHERE n.name = '300' RETURN result It should give me only 201 and 400 ,but it return like below 回答1: This is very easy in Neo4j. If you're using Cypher it might be something like: