[Top][All Lists]

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

Re: [igraph] igraph help

From: Tamas Nepusz
Subject: Re: [igraph] igraph help
Date: Mon, 13 Jun 2016 15:26:38 +0200


Unfortunately, igraph's layout algorithms know nothing about the labels; they simply treat each vertex of the graph as a point with no extents at all. If you have complex visualization needs (like tweaking the visualization in an interactive way to avoid overlaps between vertices and labels), you are probably better off with using a tool that is focused on graph visualization such as Cytoscape or Gephi.

All the best,


On Wed, Jun 8, 2016 at 2:17 PM, Laura Tossan <address@hidden> wrote:

Hello, I have a question about the igraph package.
I posted this on stackoverflow.com but I didn't receive any answer.

I have a problem using the igraph package to plot a graph. However the result is not fully satisfying as the nodes names aren't all readable.

This is the code I used to plot :

plot(g, layout_nicely(g), asp=FALSE, vertex.shape=V(g)$shape, vertex.label.dist=0.3,

And this is the result

I've tried to reduce the number of characters of each label, or to reduce their font sizes but it wasn't enough. I also used several layout such as layout.kamada.kawai, layout.fruchterman.reingold but the labels are always too close to each others. Is there any way to choose a better position for the labels or to increase the length of the edges ?

Thank you in advance for your help

Garanti sans virus. www.avast.com

igraph-help mailing list

reply via email to

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