csgoh / processpiper

An open source python library to generate business process diagram using code or plain text.
https://github.com/csgoh/processpiper
MIT License
148 stars 10 forks source link

[FEAT] Output in SVG #13

Closed Kochise closed 1 year ago

Kochise commented 1 year ago

Hi, is there a way to output the diagram in SVG format ?

Regards.

csgoh commented 1 year ago

Hi, Processpiper is relying on Pillow (PIL) package to generate the diagram. Unfortunately, PIL cannot output to SVG. PIL is a raster image processor, and SVG is a vector image format. Raster images are composed of pixels, while vector images are composed of shapes and paths.

Do you mind sharing why you need the output in SVG format?