adding graphiz code generation