title: How to hide unwanted relationships between nodes in Neo4j
body: <p>I'm new in Neo4j and I have a weird requirement. </p>
  
  <p>I have some node </p>
  
  <pre><code>CREATE (a:node {title:1})
  CREATE (b:node {title:2})
  CREATE (c:node {title:3})
  CREATE (d:node {title:4})
  </code></pre>
  
  <p>and multiple relationships between them: </p>
  
  <pre><code>CREATE (a)-[:RELATES{jump:[1]}]-&gt;(b)
  CREATE (b)-[:RELATES{jump:[1]}]-&gt;(c)
  CREATE (c)-[:RELATES{jump:[1]}]-&gt;(d)
  CREATE (a)-[:RELATES{jump:[2]}]-&gt;(c)
  CREATE (c)-[:RELATES{jump:[2]}]-&gt;(d)
  CREATE (d)-[:RELATES{jump:[1]}]-&gt;(b)
  CREATE (a)-[:RELATES{jump:[3]}]-&gt;(d)
  CREATE (d)-[:RELATES{jump:[3]}]-&gt;(c)
  CREATE (c)-[:RELATES{jump:[3]}]-&gt;(b)
  </code></pre>
  
  <p>The graph and the relationship are shown here:
  <a href="https://i.stack.imgur.com/MNTPU.png" rel="noreferrer"><img src="https://i.stack.imgur.com/MNTPU.png" alt="enter image description here"></a></p>
  
  <p>I want to check the graph such that only those relationships should be visible which I'm interested in. 
  Now when I do something like this: <code>MATCH (a)-[r]-&gt;(b) WHERE 1 IN r.jump RETURN a,b</code></p>
  
  <p>I get the something like: </p>
  
  <p><a href="https://i.stack.imgur.com/pdzFG.png" rel="noreferrer"><img src="https://i.stack.imgur.com/pdzFG.png" alt="enter image description here"></a></p>
  
  <p>Is there a way where I can hide(not delete) the not relevant relationships while displaying the graph? May be something like this(edited on Image tool): </p>
  
  <p><a href="https://i.stack.imgur.com/n5H7f.png" rel="noreferrer"><img src="https://i.stack.imgur.com/n5H7f.png" alt="enter image description here"></a></p>
  
  <p>PS: Let Grey be white. </p>