Gremlin: How do you find vertices without a particular edge?
问题 I've been looking at the Gremlin graph language, and it appears very powerful. However, whilst running through what it can do to evaluate it against requirements, I came across a case that I can't seem to complete. Assuming Gremlin is started, and using its example database: gremlin> g = TinkerGraphFactory.createTinkerGraph() ... gremlin> g.V.out('knows') ==>v[2] ==>v[4] So this shows vertices that have an edge of 'knows'. However, I want to find vertices that do not have edges of 'knows'.