Automorphisms of imbedded graphs