I've built a network and I want to load it into Gephi. The attribute labels are id(v)
and weight(e)
, but Gephi will overwrite the "id" label, so I want to change it to "label". I've tried the following:
names(cityw)["id"] <- "label"
names(V(cityw)$id) <- "label"
names(cityw$id) <- label
names(V(cityw)$id) <- label`