The work of Euhemerus was conceived in that spirit of vulgar rationalism, which is condemned by Plato in the Phaedrus.
Euhemerus was a firm upholder of the Cyrenaic philosophy, and by many ancient writers he was regarded as an atheist.
It would require another Euhemerus to find any groundwork of history in these narratives.
All this too closely resembles the falsehoods of Pytheas, Euhemerus, and Antiphanes.
The graves of Greek gods maybe due to Euhemerism, a theory much more ancient than Euhemerus.