Remove repeated vertices in a record

Generated data should not have repeated vertices (i.e. src src dst) in a record when using with pegasus