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

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