Description:

This Scripting Plugin originated as a joint proposal with the GUESS project which aimed at porting the Gython language as a console plugin for Gephi during the Google Summer of Code 2011 program. For those who are not familiar with it, GUESS is a software that was originally created to support the interactive manipulation of graph structures. This feature is achieved through a mix of a visualization framework and a domain-specific embedded language called Gython.

As you have probably already guessed, Gython is an extension of the Python programming language or, more specifically, Jython, which is a Java implementation of Python. Thus, Gython is backwards-compatible with Python itself and can be used with many different Python 2.5 libraries without much pain.

Inspired by the Gython language from the GUESS project (i.e. additional operators for manipulating graphs). Based on Jython 2.5.2, which implements the Python 2.5 specification. Graph structure and attributes manipulation. Filtering support. Support for running layouts. Export API support (i.e. generate PDF/GEXF/PNG exports from within the console). Batch scripts support for automating tasks. Loads third-party Python libraries.

The official documentation is available on the wiki page.

The plugin’s source code is hosted on the python-scripting-plugin branch of the gephi-plugins repository on GitHub.

Author:

  • Luiz Ribeiro

Sources:

github.com/gephi/gephi-plugins/tree/python-scripting-plugin

License:

Apache 2.0

Compatible Gephi versions: