I have experienced with LightGraphs package in Julia and I have builded a random graph using erdos_renyi(n,p). I would like to know how can I generate a list of edges from this graph. For example:
If I do:
p=erdos_renyi(3,3)
I would like to have a function, which lists me the edges of this graph. That is to say:
List(p)=[1,2],[2,3],[1,3]]
Thank you so much for your collaboration.