I am wanting to get an edgelist from my graph that can then be used as a coordinate in 2D.
using LightGraphs
A = [
0 1 1
1 0 1
1 1 0
]
G = Graph(A)
EL = collect(edges(G))
How can the edge list EL be converted to an array EL2, where EL2 just contains the row and column index of an undirected edge?
EL2 = [
1 2
1 3
2 3
]
Thank you for any help on this