Gojs rendering diagram in memory and converting into svg -
we have requirement users selects different checkboxes , based on checkbox diagram downloaded svg files.
my plan data based on ids checked in checkbox, render the gojs diagram in memory , convert respective svg calling makesvg.
will above plan work? when drawing in memory different events trigger documentchange, intiallayout complete?
yes, work, either on client side or on server side.
for demonstration of former, see http://gojs.net/latest/samples/flowchart.html.
for demonstration of latter, see http://gojs.net/latest/intro/serversideimages.html, although generates image rather svg. call makesvg instead , not use img element @ all.
Comments
Post a Comment