bugfix: each edge_label_type is now dict instead of list