Hi all. I am currently writing a cypher query in neo4j for rendering a subgraph from a start node, describing all my relations as well as their directions for rendering the graph. I wanted to filter this graph output to only bring me paths/resulting graph which follows a certain condition. In my case I want to compare edge properties from 2 edge types. eg: lets say edge 1 is 'xyz' and edge 2 is 'pqr' and both these edges have common property called action and effect. Now, while writing the cypher query for the graph(i'm using apoc.path.subgraph) is there some way that i can compare these common properties among all paths?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Checking if two nodes are connected by edges with certain properties | 1 | 473 | April 26, 2022 | |
Find all paths from node | 1 | 365 | January 16, 2023 | |
How to get all the edges with any starting from a node | 2 | 314 | February 18, 2021 | |
Query node path - Subset of node with property value filtering | 8 | 208 | February 27, 2024 | |
Comparing relationship properties within a path | 2 | 2800 | September 4, 2018 |