neo4j remove all relationships code example Example: delete relationship neo4j MATCH (n { name: 'Andy' })-[r:KNOWS]->() DELETE r