Hi, set the 'vertex.label.dist' parameter:
g <- graph.ring(10) tkplot(g, vertex.label.dist=1, layout=layout.circle) See ?igraph.plotting for details. Best, Gabor On Mon, Sep 27, 2010 at 11:18 AM, anderson nuel <[email protected]> wrote: > Dear r-help, > > I create a graph of my baysian network. I use the package igraph. The names > of vertex are within the circle, I would leave them outside the circle? > >> E(g)$color <- "black" > >> tkplot(g, ,vertex.label=names,layout=layout.kamada.kawai, > edge.color=E(g)$color) > > > Best Regards > > [[alternative HTML version deleted]] > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Gabor Csardi <[email protected]> UNIL DGM ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

