list edges and graphs