Shukai,
the layout functions return a matrix that you can supply as the
'layout' argument of the plotting functions, e.g.
g1 <- erdos.renyi.game(50,2/50)
lay <- layout.fruchterman.reingold(g1)
g2 <- delete.edges(g1, sample(ecount(g1), 30)-1)
plot(g1, layout=lay, vertex.size=10)
plot(g2, layout=la
Hi R users,
I am using built-in functions in igraph package to draw networks . I need
to compare several network with exactly the same structure but with edge
hightlighted differently. I am wondering if there is a way to save the
layout so that every graph will look the same as each other excep
2 matches
Mail list logo