eclipse-sprotty / sprotty

A diagramming framework for the web
https://sprotty.org/
Eclipse Public License 2.0
731 stars 83 forks source link

svg export via cli command and headless browser #439

Closed jbicker closed 4 months ago

jbicker commented 9 months ago

This is a first try regarding https://github.com/eclipse-sprotty/sprotty/issues/421.

Solution for now: listening to an custom browser event in the respective app (here it is the JSXample page) which will be fired by an cli command (sprotty export http://localhost:8080/jsxample/jsxample.html) . Very pragmatic. Maybe there is a more general/elegant way that is to be discussed. Hence the Draft PR.

spoenemann commented 4 months ago

This is now solved with #454.