python-igraph API reference

List of all classes, functions and methods in python-igraph

class documentation

class GephiConnection(object):

View In Hierarchy

Object that represents a connection to a Gephi master server.

Method __del__ Undocumented
Method __init__ Constructs a connection to a Gephi master server.
Method __repr__ Undocumented
Method close Flushes all the pending operations to the Gephi master server in a single request.
Method flush Flushes all the pending operations to the Gephi master server in a single request.
Method url.setter Undocumented
Method write Sends the given raw data to the Gephi streaming master server in an HTTP POST request.
Property url The URL of the Gephi workspace where the data will be sent.
Method _construct_default_url Undocumented
Instance Variable _autoflush_threshold Undocumented
Instance Variable _get_url Undocumented
Instance Variable _pending_operations Undocumented
Instance Variable _update_url Undocumented
Instance Variable _url_root Undocumented
def __del__(self):

Undocumented

def __init__(self, url=None, host='127.0.0.1', port=8080, workspace=1):

Constructs a connection to a Gephi master server.

The connection object can be constructed either by specifying the url directly, or by specifying the host, port and workspace arguments. The latter three are evaluated only if url is None; otherwise the url will take precedence.

The url argument does not have to include the operation (e.g., ?operation=updateGraph); the connection will take care of it. E.g., if you wish to connect to workspace 2 in a local Gephi instance on port 7341, the correct form to use for the url is as follows:

http://localhost:7341/workspace0
def __repr__(self):

Undocumented

def close(self):

Flushes all the pending operations to the Gephi master server in a single request.

def flush(self):

Flushes all the pending operations to the Gephi master server in a single request.

@url.setter
def url(self, value):

Undocumented

def write(self, data):

Sends the given raw data to the Gephi streaming master server in an HTTP POST request.

@property
url =

The URL of the Gephi workspace where the data will be sent.

def _construct_default_url(self, host, port, workspace):

Undocumented

_autoflush_threshold: int =

Undocumented

_get_url =

Undocumented

_pending_operations: list =

Undocumented

_update_url =

Undocumented

_url_root =

Undocumented