Hi, permute.vertices() does not do any rewiring, it just permutes the vertex IDs. The edge IDs should remain the same.
T. On 05/11, Fatemeh a wrote: > Hi Guys, > > I have rather simple question to make sure that my understanding is not > wrong. > I want to change the order of the vertex id ,basically just rearranging the > nodes index sequence so I use permute.vertices(graph,sample(vcount(graph)) > to do that for me, > dose this function do any changes in the graph itself?,"as it stated in the > documentation it'll keep all graph,vertex and edge attributes, and > according to my understanding , it doesn't do any rewiring either but am I > right ? > > Best, > Fatemeh > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help -- T. _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
