krlawrence / graph

Practical Gremlin - An Apache TinkerPop Tutorial
Apache License 2.0
836 stars 253 forks source link

Separate map/flatmap coverage from coverage of lambda functions. #145

Open krlawrence opened 5 years ago

krlawrence commented 5 years ago

Currently the map and flatMap coverage is nested inside the coverage of Groovy lambdas. That made sense when just discussing TinkerGraph but now more and more people connect to a Gremlin Server it would make more sense to have map and flatMap moved up a level and just cover lambda specific examples in their current location.

Also add an example of checking an edge property inside a flatMap but only passing the incident vertex onto the next step.