Groups and graphs