We have tree of Departments as shown in the picture
I need to list all department nodes and associated users for node between node D1 and D1.A1.B1
I need a Cypher query for this.
Result should be department: D1, D1.A1, D1.A1.B1 and users: U1,U2,U4