Generalized Cayley graphs