code: def getedges(fname, iddfile):
      
      data, commdct, _idd_index = readidf.readdatacommdct(fname, iddfile=iddfile)
      edges = makeairplantloop(data, commdct)
      return edges
docs: return the edges of the idf file fname