Export graph

Jun 19, 2013 at 11:56 AM
Hi
I wanted to know if there is any way to export the graph to some kind of output
for instance to a Jpg/Png or some other format..

The best i can do right now is take a snapshot of the control using RenderTargetBitmap but its not enough

Thank you in advance
Coordinator
Jun 20, 2013 at 7:46 AM
Hi there,

Graphviz4Net does not have anything like that and it seems to me that it should not be it's concern anyway. I think i've seen libraries for taking even vector graphics screenshots of WPF UIs, so i'd try it this way. You can also use Graphviz alone -- it can export graphs into png/jpeg/pdf/... We're using Graphviz to export graph into a textual file with coordinates information. However the input graph generated by Graphviz4Net does not contain the graphics inside the nodes, only the nodes size, so you can't simply use the input for Graphviz generated by Graphviz4Net.

Steves