igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] .graph_format


From: Tamas Nepusz
Subject: Re: [igraph] .graph_format
Date: Thu, 25 May 2017 10:25:12 +0200

1- Is there a neat way of reading a METIS file with .graph extension as in http://www.cc.gatech.edu/dimacs10/archive/clustering.shtml data sets using igraph?
No, as far as I know -- you'll need to convert the file manually into something that igraph can digest.
 
vertices for all vertices starting from 1 to the number of vertices. I could not construct an igraph graph from this list. graph.adj.list() function does not work with such type of adjacency lists?
It should work, but note that the list is expected to be 0-indexed, i.e. neighboring vertices should be numbered from 0 and not 1. What is the error message that you see?

T.

reply via email to

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