You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2015/11/12 19:14:43 UTC

incubator-tinkerpop git commit: Revert changes to the docs around Graph.addVertex().

Repository: incubator-tinkerpop
Updated Branches:
  refs/heads/master 831c4fc80 -> 6086e7aab


Revert changes to the docs around Graph.addVertex().


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

Branch: refs/heads/master
Commit: 6086e7aab6eb2e8b870764e8193f5abd5099e46d
Parents: 831c4fc
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Thu Nov 12 13:13:58 2015 -0500
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Thu Nov 12 13:13:58 2015 -0500

----------------------------------------------------------------------
 docs/src/the-graph.asciidoc | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/6086e7aa/docs/src/the-graph.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/the-graph.asciidoc b/docs/src/the-graph.asciidoc
index 173196f..eceec21 100644
--- a/docs/src/the-graph.asciidoc
+++ b/docs/src/the-graph.asciidoc
@@ -245,21 +245,19 @@ gremlin> graph.features()
 ...
 gremlin> graph.tx().onReadWrite(Transaction.READ_WRITE_BEHAVIOR.AUTO) <2>
 ==>org.apache.tinkerpop.gremlin.neo4j.structure.Neo4jGraph$Neo4jTransaction@1c067c0d
-gremlin> g = graph.traversal()
-==>graphtraversalsource[neo4jgraph[org.neo4j.tinkerpop.api.impl.Neo4jGraphAPIImpl@32b6b301], standard]
-gremlin> g.addV("name","stephen")  <3>
+gremlin> graph.addVertex("name","stephen")  <3>
 ==>v[0]
-gremlin> g.tx().commit() <4>
+gremlin> graph.tx().commit() <4>
 ==>null
-gremlin> g.tx().onReadWrite(Transaction.READ_WRITE_BEHAVIOR.MANUAL) <5>
+gremlin> graph.tx().onReadWrite(Transaction.READ_WRITE_BEHAVIOR.MANUAL) <5>
 ==>org.apache.tinkerpop.gremlin.neo4j.structure.Neo4jGraph$Neo4jTransaction@1c067c0d
-gremlin> g.tx().isOpen()
+gremlin> graph.tx().isOpen()
 ==>false
-gremlin> g.addV("name","marko") <6>
+gremlin> graph.addVertex("name","marko") <6>
 Open a transaction before attempting to read/write the transaction
-gremlin> g.tx().open() <7>
+gremlin> graph.tx().open() <7>
 ==>null
-gremlin> g.addV("name","marko") <8>
+gremlin> graph.addVertex("name","marko") <8>
 ==>v[1]
 gremlin> graph.tx().commit()
 ==>null