Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vertex border color/width in R graph plot

Tags:

r

igraph

I am using igraph for plotting a graph in R doing something like plot(mygraph, vertex.color = "green").

Is there a way to change the color and/or width of the vertices' borders?

like image 474
3lectrologos Avatar asked Mar 18 '12 15:03

3lectrologos


1 Answers

As Sean Mc wrote above, vertex border color can be changed by using the vertex.frame.color parameter. It turns out that igraph provides no vertex.frame.width parameter, but the solution proposed here works great for changing the border width.

like image 157
3lectrologos Avatar answered Nov 15 '22 23:11

3lectrologos