I have a graph with nodes representing Hosts, Switches, Zones and Storages in a network.
For an example, suppose this script:
MATCH (wh:Switch)<--(h:Host)-->(z:Zone)<--(s:Storage)-->(ws:Switch) //Host-Zone-Storage-Switch WHERE id(h)=0 //Host específico and id(s)=118 //Storage específico return h,z,s,wh,ws;
It will return a graph like this:
What I need is to only show the relationships between nodes 0 and 127, and between 0 and 132 that have the same numbers as the relationship between 0 and 320, which are WWN numbers. The red node is a host, the green nodes are switches and the blue node is a zoning configuration. A host has multiple connections to a number of switches, but I only want to see the ones that are also configured to be in use, which are the ones configured between the host and the zoning.
I already tried the answer given in this answer, and it did not work.
Neo4j version 4.2.1, desktop version 1.3.11