[Top][All Lists]

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

Re: [igraph] Vertex and edges graphic parameters

From: Tamás Nepusz
Subject: Re: [igraph] Vertex and edges graphic parameters
Date: Mon, 16 Sep 2013 20:49:08 +0200


> FIRST. How do I created groups of edges or nodes from my sequence in order to 
> assigned different graphical parameters like shape and color?
Construct the group containing the vertex/edge indices of interest first and 
then index E(g) or V(g) with that list. E.g.:

selected.vertices <- c(2,3,5,7,11,13,17)
V(g)[selected.vertices]$color <- whatever

All the best,

reply via email to

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