python-igraph API reference

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

module documentation


Function _add_proxy_methods Undocumented
Function _graphmethod Auxiliary decorator
def _add_proxy_methods():


def _graphmethod(func=None, name=None):

Auxiliary decorator

This decorator allows some methods of VertexSeq and EdgeSeq to call their respective counterparts in Graph to avoid code duplication.

functhe function being decorated. This function will be called on the results of the original Graph method. If None, defaults to the identity function.
namethe name of the corresponding method in Graph. If None, it defaults to the name of the decorated function.
the decorated function