In the above screenshot i executed the command and it should show only HAS (ACCOUNT) and OWNS (STOCK) relationship but its also displaying other associated relationships. May i know why this is happening
MATCH (c:Customer)-[h:HAS]->(a:Account {account_type : 'Individual'})-[:OWNS]->(s:Stock {ticker: 'MSFT'})
RETURN c,a,s,h
The default behavior of neo4j desktop is to show all relationships between displayed nodes. You can disable this behavior in the settings. Look for the gear icon in the lower left-hand side of the browser window. Scroll to the bottom and look for a checkbox with the label “connect result nodes.” Uncheck it to show only returned relationships.
1 Like
Thank you so much @glilienfield , you are a champion!
1 Like