title: How to suggest new friends in Gremlin
body: <p>I have an orientdb graph database setup with User as vertex and Friend as edge.</p>
  
  <p>2 Users are friends if they have 2 edges with each other:</p>
  
  <p>u1 --Friend --> u2  and u2 -- Friend --> u1</p>
  
  <p>How can I suggest friends of friends to u1 with Gremlin and make sure those people are not current friends of u1, with a single chain of Gremlin functions?</p>
  
  <p>Here's my Gremlin code so far, but I want to filter out vertices already friends with u1:</p>
  
  <p><code>u1.out('Friend').out('Friend').dedup()</code></p>
  
  <p>I tried this but doesn't seem to work:</p>
  
  <p><code>u1.out('Friend').out('Friend').dedup().filter{ it!= u1.out('Friend')} </code></p>
  
  <p>Thank you for your help :).</p>