renderAsPNG

fun renderAsPNG(graph: String, imageOutputStream: OutputStream)

Renders graph (Graphviz DOT source) to a PNG image, written to imageOutputStream.

Throws

if isAvailable is false, i.e. the initialize probe has not (yet, or successfully) established that Graphviz can render on this host.