faces and edges

i followed and eample to create an object with the addmesh module

in this example there are 2 list - one for the verticies and faces
but not for the edtges

is it possible to have one for the edges?

because i’d like top have the object with only edges and no faces
in some model if possible!