How to get all the edges in MMG3D

I found that not all the edges can be acquired after refining mesh via MMG3D_Get_edge. Like the first example of “libexamples/mmg3d/adaptation_example0/example0_a”, there are only 24 edges in the output file. Is there any way to get all the edges ?