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 <[email protected]> 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 > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help >
_______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
