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 c4bcf6f07c2481062e6f6184d091d8f1878783e3
Merge: 578ac5c 15094c9
Author: Stephen Mallette <[email protected]>
AuthorDate: Tue Nov 20 10:05:50 2018 -0500

    Merge branch 'tp33'
    
    Conflicts:
        docs/src/reference/gremlin-applications.asciidoc

 docs/src/reference/gremlin-applications.asciidoc | 26 +++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --cc docs/src/reference/gremlin-applications.asciidoc
index ca99ad7,7c503e2..bac5980
--- a/docs/src/reference/gremlin-applications.asciidoc
+++ b/docs/src/reference/gremlin-applications.asciidoc
@@@ -1089,8 -1313,7 +1089,8 @@@ mechanisms are accessible, see the tabl
  1.3+v|Gremlin-Java/
  Gremlin-Console |PLAIN SASL (username/password) |3.0.0-incubating
  |Pluggable SASL |3.0.0-incubating
- |GSSAPI SASL (Kerberos) |3.3.0   
+ |GSSAPI SASL (Kerberos) |3.3.0
 +|Gremlin.NET |PLAIN SASL |3.3.0
  |Gremlin-Python |PLAIN SASL |3.2.2
  |Gremlin.Net |PLAIN SASL |3.2.7
  |Gremlin-Javascript |PLAIN SASL |3.3.0
@@@ -2148,6 -2368,39 +2148,30 @@@ Gephi plugin configuration parameters a
  
  NOTE: This plugin is typically only useful to the Gremlin Console and is 
enabled in the there by default.
  
+ The instructions above assume that the `Graph` instance being visualized is 
local to the Gremlin Console. It makes that
+ assumption because the Gephi plugin requires a locally held `Graph`. If the 
intent is to visualize a `Graph` instance
+ hosted in Gremlin Server or a TinkerPop-enabled graph that can only be 
connected to in a "remote" fashion, then it
+ is still possible to use the Gephi plugin, but the requirement for a locally 
held `Graph` remains the same. To use
+ the Gephi plugin in these situations simply use 
<<subgraph-step,subgraph()-step>> to extract the portion of the remote
+ graph that will be visualized. Use of that step will return a `TinkerGraph` 
instance to the Gremlin Console at which
+ point it can be used locally with the Gephi plugin. The following example 
demonstrates the general steps:
+ 
+ [source,text]
+ ----
+ gremlin> :remote connect tinkerpop.server conf/remote-objects.yaml <1>
+ ...
+ gremlin> :> g.E().hasLabel('knows').subgraph('subGraph').cap('subGraph') <2>
+ ...
+ gremlin> graph = result[0].object <3>
+ ...
+ ----
+ 
+ <1> Be sure to connect with a serializer configured to return objects and not 
their `toString()` representation which
+ is discussed in more detail in the <<connecting-via-console, Connecting Via 
Console>> Section.
+ <2> Use the `:>` command to subgraph the remote graph as needed.
+ <3> The `TinkerGraph` of that previous traversal can be found in the `result` 
object and now that the `Graph` is local
+ to Gremlin Console it can be used with Gephi as shown in the prior 
instruction set.
+ 
 -[[giraph-plugin]]
 -=== Giraph Plugin
 -
 -image:giraph-logo.png[width=50,float=left]  The Giraph Plugin installs as 
part of `giraph-gremlin` and provides
 -a number of imports and utility functions to the environment within which it 
is used. Those classes and functions
 -provide the basis for supporting <<graphcomputer,OLAP based traversals>> 
using link:http://giraph.apache.org[Giraph].
 -This plugin is defined in greater detail in the 
<<giraphgraphcomputer,GiraphGraphComputer>> section and is typically
 -installed in conjuction with the <<hadoop-plugin,Hadoop-Plugin>>.
 -
  [[graph-plugins]]
  === Graph Plugins
  

Reply via email to