A small thing I noticed related to
With an empty graph, the traversal
will create a new vertex, and since onMatch failed it doesn't apply anything inside regardless if it's a valid map or not, and will return
This won't have any impact function-wise, since the onMatch map will be validated when the vertex is found, but just wondering if we should validate this on construction instead of execution?
A more visual example on 3.6.3-SNAPSHOT console.