Hi, see an example here: https://github.com/igraph/igraph/blob/master/examples/simple/cattributes4.c
You'll need to set IGRAPH_ATTRIBUTE_COMBINE_FIRST for 'weight', that keeps the weight, assuming all weights of multiple edges between the same pair are the same. Gabor On Thu, Nov 13, 2014 at 11:28 PM, patricia <[email protected]> wrote: > Good night, > > > I would like to use igraph_simplify () function to remove multiple edges of > a graph, but I'm having doubts regarding the parameter > igraph_attribute_combination_t const * edge_comb. Which values can be > assigned to this parameter (edge_comb)? Associated to my graph, I also have > positive numeric weights associated to the edges, in this case what should I > do to use igraph_simplify () function? > > > > > > Thank you > > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help > _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
