igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] question from a beginner


From: Gábor Csárdi
Subject: Re: [igraph] question from a beginner
Date: Tue, 11 Mar 2014 10:29:13 -0400

Hi,

in R? Python? C? 

Anyway, first create a long vector that contains the edges of your graph, and then use the regular igraph constructors, e.g. graph() in R.

Gabor


On Tue, Mar 11, 2014 at 10:25 AM, Song Li <address@hidden> wrote:
Hi everyone,

I'm a beginner in igraph. I have one simple question:

there is a file route.txt as below:

AS3 AS6 AS10 AS1
AS56 AS23 AS36 AS1
AS123 AS568 AS2 AS45 AS36 AS1
AS79 AS1

AS* represents a network node, and each line represents a route,for example: AS3->AS6->AS10->AS1 (line 1)

how to create a tree graph from this file?

Thanks!


Sky li

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


reply via email to

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