Avoid initial node in reverse traversal

Try this

{
  var(func: type("A")) {
    A as uid
    edgeToEntityB {
      getB as ~edgeToEntityB
    }
  }
  q(func: uid(getB)) @recurse {
    name
    HasB @filter(NOT uid(A))
  }
}

If it doesn’t work, please provide samples and examples. But it should work for what I got from the issue.

1 Like