Homomorphisms of graphs and their global maps