search in docstrings

Search bar offers the following options:

- Term presence. The below example searches for documents that must contain “foo”, might contain “bar” and must not contain “baz”: `+foo bar -baz`
- Wildcards. The below example searches for documents with words beginning with “foo”: `foo*`
- Search in specific fields. The following search matches all objects in "twisted.mail" that matches “search”: `+qname:twisted.mail.* +search`

  Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.

- Fuzzy matches. The following search matches all documents that have a word within 1 edit distance of “foo”: `foo~1`

Results provided by Lunr.js

# ``igraph`.`remote`.`gephi`.`GephiGraphStreamingAPIFormat``

class documentation

`class GephiGraphStreamingAPIFormat: (source)`

View In Hierarchy

Object that implements the Gephi graph streaming API format and returns Python objects corresponding to the events defined in the API.

Method | `get_add_edge_event` | Generates a Python object corresponding to the event that adds an edge with the given source, target, directednessr and attributes in the Gephi graph streaming API.
Method | `get_add_node_event` | Generates a Python object corresponding to the event that adds a node with the given identifier and attributes in the Gephi graph streaming API.
Method | `get_change_edge_event` | Generates a Python object corresponding to the event that changes the attributes of some edge in the Gephi graph streaming API. The given attributes are merged into the existing ones; use C{None} as the attribute value to delete a given attribute.
Method | `get_change_node_event` | Generates a Python object corresponding to the event that changes the attributes of some node in the Gephi graph streaming API. The given attributes are merged into the existing ones; use C{None} as the attribute value to delete a given attribute.
Method | `get_delete_edge_event` | Generates a Python object corresponding to the event that deletes an edge with the given identifier in the Gephi graph streaming API.
Method | `get_delete_node_event` | Generates a Python object corresponding to the event that deletes a node with the given identifier in the Gephi graph streaming API.

def get_add_edge_event(self, identifier, source, target, directed, attributes=None): (source)

Generates a Python object corresponding to the event that adds an edge with the given source, target, directednessr and attributes in the Gephi graph streaming API.

def get_add_node_event(self, identifier, attributes=None): (source)

Generates a Python object corresponding to the event that adds a node with the given identifier and attributes in the Gephi graph streaming API.

Example:

    >>> api = GephiGraphStreamingAPIFormat()
    >>> api.get_add_node_event("spam")
    {'an': {'spam': {}}}
    >>> api.get_add_node_event("spam", dict(ham="eggs"))
    {'an': {'spam': {'ham': 'eggs'}}}

def get_change_edge_event(self, identifier, attributes): (source)

Generates a Python object corresponding to the event that changes the attributes of some edge in the Gephi graph streaming API. The given attributes are merged into the existing ones; use C{None} as the attribute value to delete a given attribute.

Example:

    >>> api = GephiGraphStreamingAPIFormat()
    >>> api.get_change_edge_event("spam", dict(ham="eggs"))
    {'ce': {'spam': {'ham': 'eggs'}}}
    >>> api.get_change_edge_event("spam", dict(ham=None))
    {'ce': {'spam': {'ham': None}}}

def get_change_node_event(self, identifier, attributes): (source)

Generates a Python object corresponding to the event that changes the attributes of some node in the Gephi graph streaming API. The given attributes are merged into the existing ones; use C{None} as the attribute value to delete a given attribute.

Example:

    >>> api = GephiGraphStreamingAPIFormat()
    >>> api.get_change_node_event("spam", dict(ham="eggs"))
    {'cn': {'spam': {'ham': 'eggs'}}}
    >>> api.get_change_node_event("spam", dict(ham=None))
    {'cn': {'spam': {'ham': None}}}

def get_delete_edge_event(self, identifier): (source)

Generates a Python object corresponding to the event that deletes an edge with the given identifier in the Gephi graph streaming API.

Example:

    >>> api = GephiGraphStreamingAPIFormat()
    >>> api.get_delete_edge_event("spam:ham")
    {'de': {'spam:ham': {}}}

def get_delete_node_event(self, identifier): (source)

Generates a Python object corresponding to the event that deletes a node with the given identifier in the Gephi graph streaming API.

Example:

    >>> api = GephiGraphStreamingAPIFormat()
    >>> api.get_delete_node_event("spam")
    {'dn': {'spam': {}}}