From 91e18f297832ea7f26f476613e9ad208daa14556 Mon Sep 17 00:00:00 2001 From: Jay Graves Date: Sun, 29 Jun 2014 10:14:05 -0500 Subject: [PATCH] fix gremlin documentation for In and Both this was likely a copy/paste from Out. feel free to change the wording to fit your style. --- docs/GremlinAPI.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/GremlinAPI.md b/docs/GremlinAPI.md index eb095fa..c3edf67 100644 --- a/docs/GremlinAPI.md +++ b/docs/GremlinAPI.md @@ -108,16 +108,16 @@ g.V("D").Out(g.V("status"), "pred") Arguments: * `predicatePath` (Optional): One of: - * null or undefined: All predicates pointing out from this node - * a string: The predicate name to follow out from this node - * a list of strings: The predicates to follow out from this node + * null or undefined: All predicates pointing into this node + * a string: The predicate name to follow into this node + * a list of strings: The predicates to follow into this node * a query path object: The target of which is a set of predicates to follow. * `tags` (Optional): One of: * null or undefined: No tags * a string: A single tag to add the predicate used to the output set. * a list of strings: Multiple tags to use as keys to save the predicate used to the output set. -Same as In, but in the other direction. Starting with the nodes in `path` on the object, follow the triples with predicates defined by `predicatePath` to their subjects. +Same as Out, but in the other direction. Starting with the nodes in `path` on the object, follow the triples with predicates defined by `predicatePath` to their subjects. Example: ```javascript @@ -134,9 +134,9 @@ g.V("E").Out("follows").In("follows") Arguments: * `predicatePath` (Optional): One of: - * null or undefined: All predicates pointing out from this node - * a string: The predicate name to follow out from this node - * a list of strings: The predicates to follow out from this node + * null or undefined: All predicates pointing both into and out from this node + * a string: The predicate name to follow both into and out from this node + * a list of strings: The predicates to follow both into and out from this node * a query path object: The target of which is a set of predicates to follow. * `tags` (Optional): One of: * null or undefined: No tags