Adding a method to generate a Graph in dot Syntax!