List of all classes, functions and methods in python-igraph
class GephiConnection:
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 |
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