Hi All,
MATCH (a:Application)-[r]-(b)
WHERE a.name='MyApplication' AND type(r) in ['EXPORTS_DATA','IMPORTS_DATA']
WITH startNode(r) as sNode, endNode(r) as eNode, type(r) AS relType, COUNT(r) AS relCount
RETURN sNode, eNode, apoc.create.vRelationsh...