anchor.diff:  ----
   g.V().has(out('created')).values('name') <1>
   g.V().out('knows').has(out('created')).values('name') <2>
  -g.V().has(out('created').limit(2).count().retain(2L)).values('name') <3>
  +g.V().has(out('created').count().is(gte, 2L)).values('name') <3>
   g.V().has(out('knows').has(out('created'))).values('name') <4>
   ----
   
  
positive.code: [gremlin-groovy,modern]
  ----
  g.V().hasLabel('person').
        choose({it.value('name').length() == 5},
          __.in(),
          __.out()).values('name') <1>
  g.V().hasLabel('person').
        choose {it.value('name').length()}.
          option(5, __.in()).
          option(4, __.out()).values('name') <2>
  ----
  
  <1> If the predicate is true, then do `in`, else do `out` (i.e. predicate-based option selection).
  <2> Use the result of the function as a key to the map of traversal options (i.e. function-based option selection).
  
  However, note that `choose()` can have an arbitrary number of options and moreover, can take an anonymous traversal as its choice function.
  
  
negative.code: [gremlin-groovy,modern]
  ----
  g.V(1).as('a').out() <1>
  g.V(1).as('a').out().map {it.path('a')} <2>
  g.V(1).as('a').out().back('a') <3>
  ----
  
  