added toDetailsString method to graphStorage