code: def print_edges(G, bed, families):
      
      symbols = {'+': '>', '-': '<'}
      for seqid, bs in bed.sub_beds():
          prev_node, prev_strand = None, '+'
          for b in bs:
              accn = b.accn
              strand = b.strand
              node = "=".join(families[accn])
              if prev_node:
                  print("{}{}--{}{}".format(prev_node, symbols[prev_strand],
                                            symbols[strand], node))
              prev_node, prev_strand = node, strand
docs: Instead of going through the graph construction, just print the edges.