python-igraph API reference

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

module documentation

Implementation of Python-level sparse matrix operations.
Function _convert​_mode​_argument Undocumented
Function _graph​_from​_sparse​_matrix Construct graph from sparse matrix, unweighted
Function _graph​_from​_weighted​_sparse​_matrix Construct graph from sparse matrix, weighted
Constant _SUPPORTED​_MODES Undocumented
def _convert_mode_argument(mode):

Undocumented

def _graph_from_sparse_matrix(klass, matrix, mode='directed'):
Construct graph from sparse matrix, unweighted
def _graph_from_weighted_sparse_matrix(klass, matrix, mode=ADJ_DIRECTED, attr='weight', loops=True):

Construct graph from sparse matrix, weighted

NOTE: Of course, you cannot emcompass a fully general weighted multigraph with a single adjacency matrix, so we don't try to do it here either.

_SUPPORTED_MODES: tuple[str, ...] =

Undocumented

Value
('directed', 'undirected', 'max', 'min', 'plus', 'lower', 'upper')