igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] How to read a graph data with non numeric vertex ID


From: lan gao
Subject: Re: [igraph] How to read a graph data with non numeric vertex ID
Date: Thu, 4 Sep 2008 13:31:41 -0500

I tried again. It works!!! Thank you so very much.

On Thu, Sep 4, 2008 at 9:56 AM, Tamas Nepusz <address@hidden> wrote:
Thank you so much. I see the problem...my file is a txt file.
The extension doesn't matter, igraph is happy with whatever extension you use as long as you specify the format as a keyword argument (see my example).
The NCOL format is a plain simple format, every line consists of two or three items:

vertexname1 vertexname2

or

vertexname1 vertexname2 weight

Your input file is exactly in that format, that's why I think that the NCOL reader should work out of the box.


--
Tamas



_______________________________________________
igraph-help mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/igraph-help


reply via email to

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