[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] how to change attribute value

From: Simone Gabbriellini
Subject: [igraph] how to change attribute value
Date: Fri, 29 Oct 2010 17:38:53 +0200

Hello List,

I have two node attributes, name and colorname. I then have a list of values 
containing some of the nodes names. I would like to change the value of 
colorname for just the listed nodes.

I am using this but without success:

V(g)[name == listOfNodeNames]$colorname<-"violet"

thanks for the help,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]