Update TinkerGraph docs to include 3.3.x addE() usage CTR

Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/e00b4d24
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/e00b4d24
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/e00b4d24

Branch: refs/heads/TINKERPOP-1860-master
Commit: e00b4d24d9a2a60f1dd7b019b5d1504a26f3bd85
Parents: ea14f09
Author: Stephen Mallette <[email protected]>
Authored: Fri Jan 5 08:33:50 2018 -0500
Committer: Stephen Mallette <[email protected]>
Committed: Fri Jan 5 08:33:50 2018 -0500

----------------------------------------------------------------------
 docs/src/reference/implementations-tinkergraph.asciidoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/e00b4d24/docs/src/reference/implementations-tinkergraph.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/reference/implementations-tinkergraph.asciidoc 
b/docs/src/reference/implementations-tinkergraph.asciidoc
index 775316a..b6b5bf4 100644
--- a/docs/src/reference/implementations-tinkergraph.asciidoc
+++ b/docs/src/reference/implementations-tinkergraph.asciidoc
@@ -47,7 +47,7 @@ Graph graph = TinkerGraph.open();
 GraphTraversalSource g = graph.traversal();
 Vertex marko = 
g.addV("person").property("name","marko").property("age",29).next();
 Vertex lop = 
g.addV("software").property("name","lop").property("lang","java").next();
-g.withSideEffect("l",lop).V(marko).addE("created").to('l').property("weight",0.6d).iterate();
+g.addE("created").from(marko).to(lop).property("weight",0.6d).iterate();
 ----
 
 The above Gremlin creates two vertices named "marko" and "lop" and connects 
them via a created-edge with a weight=0.6

Reply via email to