Dot Builder
Make the Dot Graph Generation a function.