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 2019/11/11 18:41:05 UTC
[tinkerpop] branch master updated (8852f4d -> 19763a2)
This is an automated email from the ASF dual-hosted git repository.
spmallette pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git.
from 8852f4d Merge branch 'tp34'
add 8367eef Added elementMap() throughout most of docs
new 19763a2 Merge branch 'tp34'
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
docs/src/recipes/anti-patterns.asciidoc | 19 ++++++++-------
docs/src/recipes/appendix.asciidoc | 14 +++++------
docs/src/recipes/collections.asciidoc | 10 ++++++--
docs/src/recipes/duplicate-edge.asciidoc | 4 ++--
docs/src/recipes/edge-move.asciidoc | 4 ++--
docs/src/recipes/traversal-induced-values.asciidoc | 8 +++----
docs/src/reference/gremlin-applications.asciidoc | 8 +++----
docs/src/reference/gremlin-variants.asciidoc | 10 ++++----
docs/src/reference/the-graphcomputer.asciidoc | 14 +++++------
docs/src/reference/the-traversal.asciidoc | 28 ++++++++++++----------
10 files changed, 64 insertions(+), 55 deletions(-)
[tinkerpop] 01/01: Merge branch 'tp34'
Posted by sp...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
spmallette pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
commit 19763a2a142734a9fc032b3c2c2bd569d6779760
Merge: 8852f4d 8367eef
Author: stephen <sp...@gmail.com>
AuthorDate: Mon Nov 11 13:40:24 2019 -0500
Merge branch 'tp34'
docs/src/recipes/anti-patterns.asciidoc | 19 ++++++++-------
docs/src/recipes/appendix.asciidoc | 14 +++++------
docs/src/recipes/collections.asciidoc | 10 ++++++--
docs/src/recipes/duplicate-edge.asciidoc | 4 ++--
docs/src/recipes/edge-move.asciidoc | 4 ++--
docs/src/recipes/traversal-induced-values.asciidoc | 8 +++----
docs/src/reference/gremlin-applications.asciidoc | 8 +++----
docs/src/reference/gremlin-variants.asciidoc | 10 ++++----
docs/src/reference/the-graphcomputer.asciidoc | 14 +++++------
docs/src/reference/the-traversal.asciidoc | 28 ++++++++++++----------
10 files changed, 64 insertions(+), 55 deletions(-)
diff --cc docs/src/reference/the-graphcomputer.asciidoc
index 894e1ff,f8c2452..5249b38
--- a/docs/src/reference/the-graphcomputer.asciidoc
+++ b/docs/src/reference/the-graphcomputer.asciidoc
@@@ -376,13 -376,8 +376,13 @@@ Note that `GraphTraversal` provides a <
[gremlin-groovy,modern]
----
g = graph.traversal().withComputer()
- g.V().pageRank().valueMap()
+ g.V().pageRank().elementMap()
-g.V().pageRank().by('pageRank').times(5).order().by('pageRank').elementMap()
+g.V().pageRank().
+ with(PageRank.propertyName, 'pageRank').
+ with(PageRank.times, 5).
+ order().
+ by('pageRank').
- valueMap()
++ elementMap()
----
[[peerpressurevertexprogram]]
@@@ -404,11 -399,8 +404,11 @@@ Note that `GraphTraversal` provides a <
[gremlin-groovy,modern]
----
g = graph.traversal().withComputer()
- g.V().peerPressure().with(PeerPressure.propertyName, 'cluster').valueMap()
-g.V().peerPressure().by('cluster').elementMap()
-g.V().peerPressure().by(outE('knows')).by('cluster').elementMap()
++g.V().peerPressure().with(PeerPressure.propertyName, 'cluster').elementMap()
+g.V().peerPressure().
+ with(PeerPressure.edges,outE('knows')).
+ with(PeerPressure.propertyName, 'cluster').
- valueMap()
++ elementMap()
----
[[connectedcomponentvertexprogram]]