python-igraph API reference

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

module documentation

Low-level Python interface for the igraph library. Should not be used directly.
Class ​Edge​Seq Low-level representation of an edge sequence.
Class ​Vertex​Seq Low-level representation of a vertex sequence.
Function is​_graphical Returns whether a list of degrees can be a degree sequence of some graph, with or without multiple and loop edges, depending on the allowed edge types in the remaining arguments.
Function _compare​_communities Undocumented
Function _disjoint​_union Undocumented
Function _intersection Undocumented
Function _power​_law​_fit Undocumented
Function _split​_join​_distance Undocumented
Function _union Undocumented
def is_graphical(out_deg, in_deg=None, loops=False, multiple=False):
Returns whether a list of degrees can be a degree sequence of some graph, with or without multiple and loop edges, depending on the allowed edge types in the remaining arguments.
Parameters
out​_degthe list of degrees. For directed graphs, this list must contain the out-degrees of the vertices.
in​_degthe list of in-degrees for directed graphs. This parameter must be None for undirected graphs.
loopswhether loop edges are allowed.
multiplewhether multiple edges are allowed.
Returns
True if there exists some graph that can realize the given degree sequence with the given edge types, False otherwise.
def _compare_communities(comm1, comm2, method='vi'):

Undocumented

def _disjoint_union(graphs):

Undocumented

def _intersection(graphs, edgemaps):

Undocumented

def _power_law_fit(data, xmin=-1, force_continuous=False):

Undocumented

def _split_join_distance(comm1, comm2):

Undocumented

def _union(graphs, edgemaps):

Undocumented