Gephi.org | Download Gephi | Blog | Gephi Store | Wiki | Forum | Support | Bugtracker

Look for Gephi Plugins

Popular Keywords

Close Search

Scripting Plugin

Scripting Plugin
2 votes, 5.00 avg. rating (96% score)

Introduction

A Python Scripting Console plugin for Gephi.

Plugin Owner’s Notes

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.

Features

As of the current version (0.1.1), the plugin has the following features:

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.

Documentation

The official documentation is available on the wiki page.

Source Code

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

Feedback

Please, leave us your feedback/bug report through our Issues tracker on GitHub.

Similar Plugins

Linkfluence Plugin

Public plugin for Linkfluence with some extra data manipulation features and tools

More Info

Give color to nodes

Reads an attribute for nodes containing a RGB or #hex value. Colors nodes accordingly. When is it useful? This plugin gives you full control on the color of your nodes in Gephi. Define the color for each node as an attribute, that’s it! Quick instructions 1. Your nodes should have an attribute containing “color” in [...]

More Info

Multimode Networks Transformations

This plugin allows multimode networks projection. For example: you can project your bipartite (2-mode) graph to monopartite (one-mode) graph. The projection/transformation is based on the matrix multiplication approach and allows different types of transformations. Not only bipartite graphs. The limitation is matrix multiplication – large matrix multiplication takes time and memory.

More Info