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')