[Numpy-discussion] Networkx graph - numpy array - networkx.has_path() function

Robert Kern robert.kern at gmail.com
Sat Sep 7 18:02:01 EDT 2013


On Fri, Sep 6, 2013 at 3:45 PM, Josè Luis Mietta <
joseluismietta at yahoo.com.ar> wrote:
>
>
> Hi experts!
>
> I wanna use networkx.has_path(). This is applies, necesary, to a networkx
graph. I have a adjacency matrix of a undirected graph (M, wich is a numpy
matrix (array of N x N elements)).
>
> How can I do for use M in  networkx.has_path()?
>
> If I must transform M into a networkx graph: how can I do that?

networkx has some nice, searchable documentation.


http://networkx.github.io/documentation/latest/reference/generated/networkx.convert.from_numpy_matrix.html

And its own mailing list.

  https://groups.google.com/forum/#!forum/networkx-discuss

--
Robert Kern
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20130907/91929f1b/attachment.html>


More information about the NumPy-Discussion mailing list