Entropy and periods for continuous graph maps