adding annotations to graphs