pub type igraph_loops_t = c_uint;Expand description
\typedef igraph_loops_t \brief How to interpret self-loops in undirected graphs?
Controls the interpretation of self-loops in undirected graphs, typically in the context of adjacency matrices or degrees.
\enumval IGRAPH_NO_LOOPS Self-loops are ignored. \enumval IGRAPH_LOOPS_TWICE Self-loops are considered, and counted twice in undirected graphs. For example, a self-loop contributes two to the degree of a vertex and to diagonal entries of adjacency matrices. This is the standard interpretation in graph theory, thus \c IGRAPH_LOOPS serves as an alias for this option. \enumval IGRAPH_LOOPS_ONCE Self-loops are considered, and counted only once in undirected graphs.