I am confused about what gravitons exactly are.
On the one hand it is said that gravitons are presumed to represent gravity (see Wikipedia "Graviton" : "In theories of quantum gravity, the graviton is the hypothetical quantum of gravity, an elementary particle that mediates the force of gravitational interaction.")
On the other hand, gravitons are compared to photons which are representing electromagnetic radiation (see Wikipedia "Electromagnetic radiation" : "In quantum mechanics, an alternate way of viewing EMR is that it consists of photons".)
The point is that electromagnetic waves are generated by accelerating charges and gravitational waves are supposed to be generated by accelerating masses, and as far as I know, gravitational waves are not a direct effect of gravity but an effect of accelerating masses.
So, if gravitational waves are not a direct effect of gravity itself, are gravitons an "alternate way of viewing" gravitational waves or are they a direct effect of gravity?