I have the adjacency matrix of graph and I want visualize this graph. I tried:
AdjacencyGraph[{v1,v2,v3,v4,v5,v6,v7,v8,v9,v10}, {{0,0,0,1,0,1,1,1,0,0}, {0,0,0,0,0,1,1,1,1,1}, {0,0,0,0,0,0,0,1,1,0}, {1,0,0,0,0,0,0,1,0,0}, {0,0,0,0,0,1,0,1,0,0}, {1,1,0,0,1,0,1,0,1,1}, {1,1,0,0,0,1,0,0,0,1}, {1,1,1,1,1,0,0,0,0,1}, {0,1,1,0,0,1,0,0,0,0}, {0,1,0,0,0,1,1,1,0,0}}] and
AdjacencyGraph[ {{0,0,0,1,0,1,1,1,0,0}, {0,0,0,0,0,1,1,1,1,1}, {0,0,0,0,0,0,0,1,1,0}, {1,0,0,0,0,0,0,1,0,0}, {0,0,0,0,0,1,0,1,0,0}, {1,1,0,0,1,0,1,0,1,1}, {1,1,0,0,0,1,0,0,0,1}, {1,1,1,1,1,0,0,0,0,1}, {0,1,1,0,0,1,0,0,0,0}, {0,1,0,0,0,1,1,1,0,0}}] Output is:
How to add names of vertices to graph?




