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/06/25 14:49:20 UTC
[1/3] incubator-tinkerpop git commit: Add a clear option for Gephi
Plugin.
Repository: incubator-tinkerpop
Updated Branches:
refs/heads/master 9fcc67970 -> 1e7842a54
Add a clear option for Gephi Plugin.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/94375042
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/94375042
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/94375042
Branch: refs/heads/master
Commit: 943750423fad8c6254eeff6f190fff3daee2790d
Parents: 9fcc679
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Thu Jun 25 08:44:26 2015 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Thu Jun 25 08:44:26 2015 -0400
----------------------------------------------------------------------
.../gremlin/console/plugin/GephiRemoteAcceptor.groovy | 6 ++++++
1 file changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/94375042/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/plugin/GephiRemoteAcceptor.groovy
----------------------------------------------------------------------
diff --git a/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/plugin/GephiRemoteAcceptor.groovy b/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/plugin/GephiRemoteAcceptor.groovy
index 94f5747..a4c9ef4 100644
--- a/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/plugin/GephiRemoteAcceptor.groovy
+++ b/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/plugin/GephiRemoteAcceptor.groovy
@@ -185,6 +185,12 @@ class GephiRemoteAcceptor implements RemoteAcceptor {
@CompileStatic
Object submit(final List<String> args) throws RemoteException {
final String line = String.join(" ", args)
+ if (line.trim() == "clear") {
+ clearGraph()
+ io.out.println("Gephi workspace cleared")
+ return
+ }
+
final Object o = shell.execute(line)
if (o instanceof Graph) {
clearGraph()
[3/3] incubator-tinkerpop git commit: Update docs to include the
clear option for Gephi Plugin.
Posted by sp...@apache.org.
Update docs to include the clear option for Gephi Plugin.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/1e7842a5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/1e7842a5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/1e7842a5
Branch: refs/heads/master
Commit: 1e7842a5419ee4bdca182d142759b3267d88a52b
Parents: edce37e
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Thu Jun 25 08:48:56 2015 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Thu Jun 25 08:48:56 2015 -0400
----------------------------------------------------------------------
docs/src/gremlin-applications.asciidoc | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/1e7842a5/docs/src/gremlin-applications.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/gremlin-applications.asciidoc b/docs/src/gremlin-applications.asciidoc
index d68df97..724aa2a 100644
--- a/docs/src/gremlin-applications.asciidoc
+++ b/docs/src/gremlin-applications.asciidoc
@@ -872,6 +872,8 @@ The above Gremlin session activates the Gephi plugin, creates the "modern" `Tink
image::gephi-graph-submit.png[width=800]
+NOTE: Issuing `:> graph` again will clear the Gephi workspace and then re-write the graph. To manually empty the workspace do `:> clear`.
+
Now that the graph is visualized in Gephi, it is possible to link:https://gephi.github.io/users/tutorial-layouts/[apply a layout algorithm], change the size and/or color of vertices and edges, and display labels/properties of interest. Further information can be found in Gephi's tutorial on link:https://gephi.github.io/users/tutorial-visualization/[Visualization]. After applying the Fruchterman Reingold layout, increasing the node size, decreasing the edge scale, and displaying the id, name, and weight attributes the graph looks as displayed in the right image above.
NOTE: It's recommended to choose a continuously running layout algorithm like Fruchterman Reingold or Force Atlas, because every update to color the visited vertices causes their positions to be reset, so these layouts will constantly adjust to account for these changes and make visualization of the traversals. This also explains why the graph seems to rotate each store step in the screenshots below.
[2/3] incubator-tinkerpop git commit: Update changelog.
Posted by sp...@apache.org.
Update changelog.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/edce37ec
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/edce37ec
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/edce37ec
Branch: refs/heads/master
Commit: edce37ecc5e9cdc2376cbcecf0aeee6517944e8f
Parents: 9437504
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Thu Jun 25 08:45:10 2015 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Thu Jun 25 08:45:10 2015 -0400
----------------------------------------------------------------------
CHANGELOG.asciidoc | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/edce37ec/CHANGELOG.asciidoc
----------------------------------------------------------------------
diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc
index b63f6c1..9d86f1c 100644
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@ -25,6 +25,7 @@ image::http://www.tinkerpop.com/docs/current/images/gremlin-hindu.png[width=225]
TinkerPop 3.0.0.GA (NOT OFFICIALLY RELEASED YET)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+* Add a `clear` option to the Gephi Plugin to empty the Gephi workspace.
* `AbstractStep` now guarantees that bulk-less and null-valued traversers are never propagated.
* Added `dedup(string...)` which allows for the deduplication of a stream based on unique scope values.
* Fixed multiple bugs in the Gephi Plugin related to refactoring of traversal side-effects.