pub type igraph_edge_type_sw_t = c_uint;Expand description
\typedef igraph_edge_type_sw_t \brief What types of non-simple edges to allow?
This type is used with multiple functions to specify what types of non-simple
edges to allow, create or consider a graph. The constants below are treated
as “switches” that can be turned on individually and combined using the
bitwise-or operator. For example,
IGRAPH_LOOPS_SW
allows only self-loops but not multi-edges, while
IGRAPH_LOOPS_SW | IGRAPH_MULTI_SW
allows both.
\enumval IGRAPH_SIMPLE_SW A shorthand for simple graphs only, which is the default assumption. \enumval IGRAPH_LOOPS_SW Allow or consider self-loops. \enumval IGRAPH_MULTI_SW Allow or consider multi-edges.