Hi, g.es["label"] should work (at least it works for me on my machine). If it doesn't work for you, please post a small, self-contained example that I could try on my machine to see what's wrong.
T. On Sat, May 7, 2016 at 6:27 PM, Martin Mérafina <[email protected]> wrote: > Hi, > > I'd like to plot some basic graphs. I've succeeded to change the color/name > of the vertexes with either g.vs["label"] or g.vs ["color"]. > > I can also do the same g.es ["color"] . However, i am not capable of setting > a weight in order to be displayed on each edge : either g.es ["label"] or > weight did not work. > > Do you have any idea ? I only want the weight to be displayed when I use > plot (g), nothing more. > > Thanks a lot for your help, > > Martin > > > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help > _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
