Getting back simple graphs as seqs of triples