igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Labelling vertices with name while plotting graph


From: sloiseau
Subject: Re: [igraph] Labelling vertices with name while plotting graph
Date: Tue, 12 Jun 2007 23:28:45 +0200 (CEST)
User-agent: SquirrelMail/1.4.4

> ...vertex labels can be controlled by either the "label" attribute
> attached to the vertices (and not "name" as written in the webpage you
> mentioned - it might be a little bit out of date)

PS : when I read a graph using :

    m <- read.table("foo.txt");
    g1 <- graph.data.frame(m);

with m containing a list of edges :

    var1        var2    weight
    a   rien    2.0
    a   ignorant        1.0
    a   alphabet        1.0
    a   lettre  1.0

The constructor create an attribute "name" on vertices. Isn'it inconsistent?

Sylvain





reply via email to

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