Question: Help with undirected graphs

How do I do to draw a graph from an adjacency matrix? Notice: the matrix is symmetric and when I use GraphTheory package, occurs the error: "Error, (in GraphTheory:-Graph) an undirected graph cannot contain loops (loop detected at vertex 1)".

I've tried the "graphplot3d" command, but I need to know the in-degrees of each vertex (it´s a rotine). It's impossible, in this case, using the "InDegree" command.

Help me, please! Regards,
 

Please Wait...