Hi, Cobra.
Thanks for the quick reply.
But we have a little bit of misunderstanding here.
I mean I want to use cypher query to get the result set, not using Neo4j desktop to hide the relationships in the result set.
What I want to do here is using "DEPEND_ON" relationships to get all the paths(nodes connected using “DEPEND_ON” relationships) to the node with certain "gav" property value. In other word, using cypher query to exclude the "NEXT" relationships from the resulted subgraph, only keeping all the nodes directly or indirectly "DEPEND_ON" the Artifact node with "com.twitter:finagle-core_2.11:6.25.0" value.
If you can give me some methods to optimizing Cypher to speed up the query, it would be more excellent.