Difference / Intersect of paths

Hi,

is there any function for getting

  1. difference of two paths and
  2. intersect of several paths ?

Thanks a lot in advance,

Michel

Dear @Cobra , thanks a lot !

Hello @Michel :blush:

You can use the apoc.path.elements() function to get path elements, nodes() function to get path nodes and relationships() function to get path relationships. Then you can use functions from apoc.coll to get what you desire.

Regards,
Cobra