python-igraph API reference

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

class documentation

class EdgeSeq:

Known subclasses: igraph.EdgeSeq

View In Hierarchy

Low-level representation of an edge sequence.

Don't use it directly, use igraph.EdgeSeq instead.

Unknown Field: deffield
refReference
Method __new__ Create and return a new object. See help(type) for accurate signature.
Method attribute​_names Returns the attribute name list of the graph's edges
Method find For internal use only.
Method get​_attribute​_values Returns the value of a given edge attribute for all edges.
Method is​_all Returns whether the edge sequence contains all the edges exactly once, in the order of their edge IDs.
Method select For internal use only.
Method set​_attribute​_values Sets the value of a given edge attribute for all vertices @param attrname: the name of the attribute @param values: the new attribute values in a list
def __new__(*args, **kwargs):
Create and return a new object. See help(type) for accurate signature.
def attribute_names():
Returns the attribute name list of the graph's edges
def find(condition):
overridden in igraph.EdgeSeq
For internal use only.
def get_attribute_values(attrname):
Returns the value of a given edge attribute for all edges.
Parameters
attrnamethe name of the attribute
def is_all():

Returns whether the edge sequence contains all the edges exactly once, in the order of their edge IDs.

This is used for optimizations in some of the edge selector routines.

def select(*args, **kwds):
overridden in igraph.EdgeSeq
For internal use only.
def set_attribute_values(attrname, values):
Sets the value of a given edge attribute for all vertices
Parameters
attrnamethe name of the attribute
valuesthe new attribute values in a list