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

2013-09-07 Thread Robert Kern
On Fri, Sep 6, 2013 at 3:45 PM, Josè Luis Mietta < joseluismie...@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)). > > Ho

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

2013-09-06 Thread Josè Luis Mietta
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: ho