Hello, is there an igraph function in C that translates an igraph_es_t type to igraph_integer_t or igraph_vector_t type? I have looked through the documentation but have not a function like that.
What would you like to do exactly? An igraph_es_t
is an edge selector type, it doens’t yield a vector. Using igraph_eit_create
you can create an edge iterator for a given edge selector. If so desired, you can store the resulting edge indices in a vector while iterating of the edge iterator. But perhaps you would simply like to use the resulting edge indices immediately, instead of first storing them in a vector?
1 Like
I think I understand what I need to do now, thanks for your reply!