For future reference.
Use igraph_adjlist_init() to create an igraph_adjlist_t from your
graph, then query the vectors in the igraph_adjlist_t one by one
using igraph_adjlist_get() and print them using
igraph_vector_print(). See:
I am using C. Sorry I didn't specify
that.
On 23-Jun-2014 3:34 PM, "Tamás
Nepusz" <address@hidden> wrote:
Hi,
Are you using igraph from C, R or Python?
Hello All
I have just started with igraph recently and so my doubt
is of very basic level.
Actually I am creating a graph and finding its adjacency
matrix and that works fine.
Only I want to see if the adjacency list created is fine or not,
earlier I was using Graphml files to see if the graphs are in
desired shape or not but with large size that is
inconvenient.
I couldn't find a way to print out the adjlist created, so a quick
help about that will be really kind. (Writing it on console itself
or on a file, both would do fine)
--
Manikant Prasad
Computer Science & Engineering,
National Institute of Technology, Rourkela
_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help
|