[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] changing the vertex sequence index in a graph
From: |
Tamas Nepusz |
Subject: |
Re: [igraph] changing the vertex sequence index in a graph |
Date: |
Mon, 11 May 2015 12:16:11 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
--
T.