Filter edges between two nodes

Hello @kamalika.ray and welcome to the Neo4j community :slight_smile:

It's because of the Connected result nodes option:

Best regards,
Cobra