How to create vector file from the diagram

As we explore the possibility of upgrading our legacy GoDiagram-based applications to GoDiagram 10, we haven’t been able to find an example demonstrating how to generate a vector image file or print from a diagram. In the older version of GoDiagram, we could export an EMF file from the diagram by injecting a Graphics object, but this process doesn’t seem as straightforward in GoDiagram 10. Are we overlooking something, or is this feature not available out of the box?

GoDiagram doesn’t have a vector export at this time, just raster images: GoDiagram Making Images -- Northwoods Software

There’s also an undocumented Diagram.MakePdf method to generate a PDF for the diagram that might be useful for printing. It takes two arguments, the same as the first and last arguments of MakeImage. This may not be what you’re looking for, though, since it still uses a raster image in the PDF.

We’ll look into adding support for exporting to SVG.