Rendering graph into memory

Hello,
so how can I render the graph into the memory ?

Basically:
After layouting the graph with gvLayout I ususally do gvRender and my output is plain text.

I've build a GUI to render my graph with the coordinates of plain.
Now , I was thinking wether there is a possiblity to "render" so graph into memory directly , as array or vector.

Regards

Ludden

Rendering graph into memory

You can use gvRenderData() to have Graphviz render the output in any format onto a block of memory and return you a pointer to it. See the manual http://www.graphviz.org/doc/libguide/libguide.pdf for a bit more information. If you still want to do your own rendering, you can read coordinate information, etc. directly from the graph. This is also discussed in the libguide.

Recent comments