[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] graph from an adjacency matrix
From: |
Tamas Nepusz |
Subject: |
Re: [igraph] graph from an adjacency matrix |
Date: |
Tue, 24 Feb 2015 14:24:55 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Hi,
> I've just installed igraph-python hoping it will allow me to generate a
> visualisation of my network given the adjacency matrix. In the tutorial
> this is listed as TODO. Does this mean that this functionality had not been
> yet implemented or is it simply not yet explained in the tutorial?
This is not explained yet in the tutorial but it is definitely possible to
create a graph out of an adjacency matrix in Python and then plot it. (And if
you have an adjacency matrix and not an edge list then it probably cannot be
_that_ big anyway ;)). How does your matrix look like? Is it an ordinary Python
list-of-lists, or is it a NumPy matrix, or somethng else?
T.