Added graph printing