operator<< to Graph has been implemented