Change example to not mutate the graph.
The mutation persists because it's a server oriented request and Gremlin Server does not restart to reset the graph between code sections CTR
diff --git a/docs/src/reference/gremlin-applications.asciidoc b/docs/src/reference/gremlin-applications.asciidoc
index 5607667..f98472d 100644
--- a/docs/src/reference/gremlin-applications.asciidoc
+++ b/docs/src/reference/gremlin-applications.asciidoc
@@ -539,12 +539,13 @@
m = result[0].object <4>
m.sort {it.value}
script = """
- g.addV('person',).property('name','matthias').as('matthias').
- V().has('person','name','marko').as('marko').
- addE('co-creator').from('matthias').to('marko')
+ g.V().hasLabel('person').
+ out('knows').
+ out('created').
+ group().
+ by('name')
"""
:> @script <5>
-:> g.V().has('name','matthias').out('co-creator').values('name')
:remote close
----