Open akinnee-gl opened 8 years ago
I don't think Raphaeljs that serves as the rendering engine can work outside a browser. You should check diagrams
Let's see if the move to snapsvg will help (if/when.)
Ok, I've rolled out v2.0 based on Snap.svg. I haven't looked to see if that would work purely outside a browser, but I suspect it will (with perhaps some minor changes).
This is an awesome tool, but I'd like to be able to use it on the server without a DOM. I don't see anything stopping this from working outside the browser, and SVGs are just text. It would be nice to just be able to do:
var svg = Diagram.parse("A->B: Does something").getSVG( { theme: "hand" } );