Rendering dot (graph description language)

I would like to construct a string containing the dot text required to render a graph visualisation (like Graphviz). I don’t believe there’s a class for constructing dot objects in Xojo, but I could probably create something myself.
The question is, is there a way of rendering dot text into a graph image, which can be displayed in a DesktopImageViewer for example? I am not sure how I could achieve something like this?
Has anyone done something similar or can offer any advice?

Any help would be appreciated.