Export diagrams to SVG from cli

Hello there.

Is there a way to export a diagram from an .zcos file to SVG? I do not mean the plots (with xs2svg) but the diagram. I know about CTRL+E, but would like to do it directly from the command line.

A little background: I have an assignment in school and I want to have everything in one bash file so when I change something I don’t have to remember to re-export the diagram. The shell script regenerates all diagrams I have in plantuml, octave and generates the PDF from LaTeX but I don’t seem to be able to create appropriate diagram from Xcos - so it is a manual step for now.

1 Like