python-igraph API reference

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

class documentation

class GephiConnection:

View In Hierarchy

Object that represents a connection to a Gephi master server.

Method __init__ Constructs a connection to a Gephi master server.
Property url The URL of the Gephi workspace where the data will be sent.
Method __del__ 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.
Method __repr__ Undocumented
Instance Variable _pending_operations Undocumented
Instance Variable _autoflush_threshold Undocumented
Method _construct_default_url Undocumented
Instance Variable _url_root Undocumented
Instance Variable _get_url Undocumented
Instance Variable _update_url 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
_pending_operations =

Undocumented

(type: list)
_autoflush_threshold =

Undocumented

(type: int)
@property
url =

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

def __del__(self):

Undocumented

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

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

_url_root =

Undocumented

_get_url =

Undocumented

_update_url =

Undocumented

def write(self, data):

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

def __repr__(self):

Undocumented

API Documentation for igraph, generated by pydoctor 21.2.2.