Add the validator to produce a dot representation an immediately create
an image with for a graphical representation.