Topological entropy of continuous self-maps on a graph