Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
06-02-2022 09:03 AM
Hey there,
I have two nodes, User, and System. These nodes have 3 types of relationships. Has_access, is_stakeholder, is_admin
My Cypher query wants all to show all users who have a stakeholder relationship to a system. My query is
MATCH n =(user:User)-[r:IS_STAKEHOLDER_OF]->(system:System)
RETURN n
When I run this in neo4j Browser, I get nodes that are displaying all three relationships instead of only Is_stakeholder
Weirdly, this does not occur in NeoDash, another front end for visualization, here is the graph produced by the same cypher query there
No changes to the data have been made. What is the difference that is causing this?
Solved! Go to Solution.
06-02-2022 09:35 AM
I think what may be happening is in the path is being returned and all available relationships between the returned nodes are show. In settings there is an option for "connect result nodes". Disabling it will show only the specifically queried relationships.
Andy
06-02-2022 09:35 AM
I think what may be happening is in the path is being returned and all available relationships between the returned nodes are show. In settings there is an option for "connect result nodes". Disabling it will show only the specifically queried relationships.
Andy
All the sessions of the conference are now available online