opencaesar / oml-vision

A VS Code extension providing UI viewpoints for OML models
Other
4 stars 2 forks source link

export diagram to SVG #2

Closed pogi7 closed 9 months ago

pogi7 commented 9 months ago

Checklist before submitting a feature request

Is your feature request related to a problem? If yes, describe the problem

I want to export diagrams to SVG not just PNG

Describe the desired feature

Diagrams in OML Vision are created using React Flow. We can export to PNG so we want to expand this functionality to export to SVG.

An example is shown here: https://reactflow.dev/docs/examples/misc/download-image/ https://github.com/bubkoo/html-to-image#tosvg

Additional context

I want to be able to import diagrams into programs like Visio that support SVGs