Made Graph#toString() more readable