The EM analogy isn't right, though a relatively good way to make it kind of clear in layman's terms.
You can't really say that gravitons are the electrons of gravity, because electrons generate a force by being negatively charged, while gravitons don't generate any force, they are the force...