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

Josè Luis Mietta joseluismietta at yahoo.com.ar
Fri Sep 6 10:45:04 EDT 2013



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?

Waiting for your answers.

Thanks a lot!!

José Luis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20130906/544302ab/attachment.html>


More information about the NumPy-Discussion mailing list