python-igraph manual

For using igraph from Python

   Home       Trees       Indices       Help   
Package igraph :: Package remote :: Module gephi :: Class GephiConnection
[hide private]

Class GephiConnection

source code

object --+
         |
        GephiConnection

Object that represents a connection to a Gephi master server.
Instance Methods [hide private]
 
__init__(self, url=None, host='127.0.0.1', port=8080, workspace=0)
Constructs a connection to a Gephi master server.
source code
 
__del__(self) source code
 
_construct_default_url(self, host, port, workspace) source code
 
close(self)
Flushes all the pending operations to the Gephi master server in a single request.
source code
 
flush(self)
Flushes all the pending operations to the Gephi master server in a single request.
source code
 
write(self, data)
Sends the given raw data to the Gephi streaming master server in an HTTP POST request.
source code
 
__repr__(self)
repr(x)
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]
  url
The URL of the Gephi workspace where the data will be sent.

Inherited from object: __class__

Method Details [hide private]

__init__(self, url=None, host='127.0.0.1', port=8080, workspace=0)
(Constructor)

source code 

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
Overrides: object.__init__

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

Property Details [hide private]

url

The URL of the Gephi workspace where the data will be sent.
Get Method:
unreachable.url(self) - The URL of the Gephi workspace where the data will be sent.
Set Method:
unreachable.url(self, value)

   Home       Trees       Indices       Help